Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-02-11 12:49:44 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-02-11 12:49:44 +0300
commit1747dd375c7c2f4b0c4eecd4d28d3c05772e6a01 (patch)
tree3aa395b25db585e96020ccfed9f89202a46ac7fa /nanoc.yaml
parent6ce940617a6ae23eee453eb40579c0dec3be4e55 (diff)
Add README.html to Nanoc's index filenames
This will treat README.html as index.html on the local dev environment. Thus, visiting /ce will work just fine without having to explicitly visit /ce/README.html.
Diffstat (limited to 'nanoc.yaml')
-rw-r--r--nanoc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nanoc.yaml b/nanoc.yaml
index c3406e8a..50e6e8d2 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -20,7 +20,7 @@ content_dir: content
# server when a directory is requested. Usually, index files are named
# “index.html”, but depending on the web server, this may be something else,
# such as “default.htm”. This list is used by Nanoc to generate pretty URLs.
-index_filenames: [ 'index.html' ]
+index_filenames: [ 'index.html', 'README.html' ]
# Whether or not to generate a diff of the compiled content when compiling a
# site. The diff will contain the differences between the compiled content