Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Guillaume Grossetie
asciidoc.org
Commits
cd6d9d7a
Verified
Commit
cd6d9d7a
authored
Feb 16, 2022
by
Dan Allen
Browse files
add redirects for old asciidoc.org pages
parent
86ac1306
Changes
3
Hide whitespace changes
Inline
Side-by-side
.eleventy.js
View file @
cd6d9d7a
...
...
@@ -15,6 +15,7 @@ asciidoctor.ConverterFactory.register(new DocumentModelConverter(), ['json'])
module
.
exports
=
function
(
eleventyConfig
,
rest
)
{
eleventyConfig
.
addPassthroughCopy
(
'
pages/**/*.{jpg,png,gif,svg,webp,ico,txt,json,webmanifest,xml,woff2}
'
)
eleventyConfig
.
addPassthroughCopy
(
'
pages/_redirects
'
)
eleventyConfig
.
setBrowserSyncConfig
({
files
:
[
'
_site/**/*
'
],
open
:
false
...
...
netlify.toml
View file @
cd6d9d7a
...
...
@@ -2,7 +2,17 @@
publish
=
"_site"
command
=
"npm run build"
[build.environment]
NODE_VERSION
=
"16"
[[headers]]
for
=
"/assets/subfont/*.woff2"
[headers.values]
Cache-Control
=
"public,max-age=604800"
# the following redirects get appended to the redirects defined in the _redirects file
#[[redirects]]
#from = "https://asciidoc.netlify.app/*"
#to = "https://asciidoc.org/:splat"
#status = 301
#force = true
pages/_redirects
0 → 100644
View file @
cd6d9d7a
/a2x.1.html https://asciidoc-py.github.io/a2x.1.html 301!
/asciidocapi.html https://asciidoc-py.github.io/asciidocapi.html 301!
/faq.html https://asciidoc-py.github.io/faq.html 301!
/INSTALL.html https://asciidoc-py.github.io/INSTALL.html 301!
/manpage.html https://asciidoc-py.github.io/manpage.html 301!
/userguide.html https://asciidoc-py.github.io/userguide.html 301!
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment