Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6eb50 commit 01bba94Copy full SHA for 01bba94
Caddyfile
@@ -7,6 +7,7 @@
7
8
handle_path /{args.0}/* {
9
root * {$SITE_DIR:sites}/{args.0}
10
+ try_files {path}.html {path}
11
file_server
12
}
13
@@ -27,13 +28,15 @@
27
28
import subproject mpl-brochure-site
29
@brochure file {
30
root {$SITE_DIR:sites}/mpl-brochure-site
31
32
33
rewrite / /mpl-brochure-site/index.html
34
rewrite @brochure /mpl-brochure-site{http.matchers.file.relative}
35
36
# Finally try any of the versioned docs.
37
handle {
38
root * {$SITE_DIR:sites}/matplotlib.github.com
39
40
41
42
0 commit comments