diff options
author | 2016-11-16 17:13:55 +0100 | |
---|---|---|
committer | 2016-11-16 17:13:55 +0100 | |
commit | 9d76b1686c8272402b20ee638d124db8a0bf3d36 (patch) | |
tree | c1ce218ef3f7fa2780e493e6261f9591f9ce70e1 /site/.htaccess | |
parent | 8baa57816ef35468cf84e63503d055d58d43f63b (diff) |
webdocs: updated README; fix htaccess for local .md files
Change-Id: I9458a663ed1e2df1a38fa606e834b448b2bab312
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site/.htaccess')
-rw-r--r-- | site/.htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/.htaccess b/site/.htaccess index 0bbfea2..61548b8 100644 --- a/site/.htaccess +++ b/site/.htaccess @@ -48,6 +48,11 @@ RewriteEngine on # NE - no escaping special characters # 302 (temporary): +# *.md -> *.html +RewriteRule ^(.*?)\.md$ $1.html +#RewriteRule ^.*docs/(.*?)\.md$ {{site.baseurl}}/docs/$1.html [R=302] + +# 302 (temporary): # # docs/ -> docs/[default language]/latest/ # docs/* -> docs/*/latest/ |