Add redirects for old /help/* pages on GitHub Pages
This commit is contained in:
parent
6c57682fb0
commit
083b4410a1
|
@ -9,9 +9,6 @@ concurrency:
|
||||||
group: publish-docs
|
group: publish-docs
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
|
||||||
HYDRUS_DOCS_SITE_URL: "https://hydrusnetwork.github.io/hydrus/"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -21,4 +18,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- run: pip install mkdocs-material
|
- run: pip install mkdocs-material
|
||||||
- run: mkdocs gh-deploy --force
|
- run: mkdocs gh-deploy --force --config-file mkdocs-gh-pages.yml
|
|
@ -0,0 +1,50 @@
|
||||||
|
INHERIT: mkdocs.yml
|
||||||
|
|
||||||
|
site_url: https://hydrusnetwork.github.io/hydrus/
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
- redirects:
|
||||||
|
redirect_maps:
|
||||||
|
'help/access_keys.md': 'access_keys.md'
|
||||||
|
'help/adding_new_downloaders.md': 'adding_new_downloaders.md'
|
||||||
|
'help/advanced.md': 'advanced.md'
|
||||||
|
'help/advanced_parents.md': 'advanced_parents.md'
|
||||||
|
'help/advanced_siblings.md': 'advanced_siblings.md'
|
||||||
|
'help/changelog.md': 'changelog.md'
|
||||||
|
'help/client_api.md': 'client_api.md'
|
||||||
|
'help/contact.md': 'contact.md'
|
||||||
|
'help/database_migration.md': 'database_migration.md'
|
||||||
|
'help/downloader_completion.md': 'downloader_completion.md'
|
||||||
|
'help/downloader_gugs.md': 'downloader_gugs.md'
|
||||||
|
'help/downloader_intro.md': 'downloader_intro.md'
|
||||||
|
'help/downloader_login.md': 'downloader_login.md'
|
||||||
|
'help/downloader_parsers.md': 'downloader_parsers.md'
|
||||||
|
'help/downloader_parsers_content_parsers.md': 'downloader_parsers_content_parsers.md'
|
||||||
|
'help/downloader_parsers_formulae.md': 'downloader_parsers_formulae.md'
|
||||||
|
'help/downloader_parsers_full_example_api.md': 'downloader_parsers_full_example_api.md'
|
||||||
|
'help/downloader_parsers_full_example_file_page.md': 'downloader_parsers_full_example_file_page.md'
|
||||||
|
'help/downloader_parsers_full_example_gallery_page.md': 'downloader_parsers_full_example_gallery_page.md'
|
||||||
|
'help/downloader_parsers_page_parsers.md': 'downloader_parsers_page_parsers.md'
|
||||||
|
'help/downloader_sharing.md': 'downloader_sharing.md'
|
||||||
|
'help/downloader_url_classes.md': 'downloader_url_classes.md'
|
||||||
|
'help/duplicates.md': 'duplicates.md'
|
||||||
|
'help/faq.md': 'faq.md'
|
||||||
|
'help/getting_started_downloading.md': 'getting_started_downloading.md'
|
||||||
|
'help/getting_started_files.md': 'getting_started_files.md'
|
||||||
|
'help/getting_started_installing.md': 'getting_started_installing.md'
|
||||||
|
'help/getting_started_more_files.md': 'getting_started_more_files.md'
|
||||||
|
'help/getting_started_ratings.md': 'getting_started_ratings.md'
|
||||||
|
'help/getting_started_subscriptions.md': 'getting_started_subscriptions.md'
|
||||||
|
'help/getting_started_tags.md': 'getting_started_tags.md'
|
||||||
|
'help/index.md': 'index.md'
|
||||||
|
'help/introduction.md': 'introduction.md'
|
||||||
|
'help/ipfs.md': 'ipfs.md'
|
||||||
|
'help/launch_arguments.md': 'launch_arguments.md'
|
||||||
|
'help/local_booru.md': 'local_booru.md'
|
||||||
|
'help/privacy.md': 'privacy.md'
|
||||||
|
'help/reducing_lag.md': 'reducing_lag.md'
|
||||||
|
'help/running_from_source.md': 'running_from_source.md'
|
||||||
|
'help/server.md': 'server.md'
|
||||||
|
'help/support.md': 'support.md'
|
||||||
|
'help/tagging_schema.md': 'tagging_schema.md'
|
||||||
|
'help/wine.md': 'wine.md'
|
|
@ -1,6 +1,6 @@
|
||||||
site_name: hydrus network
|
site_name: hydrus network
|
||||||
site_description: "A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers."
|
site_description: "A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers."
|
||||||
site_url: !ENV [HYDRUS_DOCS_SITE_URL, '']
|
site_url: ''
|
||||||
repo_url: https://github.com/hydrusnetwork/hydrus
|
repo_url: https://github.com/hydrusnetwork/hydrus
|
||||||
repo_name: hydrusnetwork/hydrus
|
repo_name: hydrusnetwork/hydrus
|
||||||
use_directory_urls: false
|
use_directory_urls: false
|
||||||
|
@ -144,5 +144,4 @@ markdown_extensions:
|
||||||
- pymdownx.tasklist:
|
- pymdownx.tasklist:
|
||||||
custom_checkbox: true
|
custom_checkbox: true
|
||||||
- pymdownx.tilde
|
- pymdownx.tilde
|
||||||
- pymdownx.snippets
|
- pymdownx.snippets
|
||||||
|
|
Loading…
Reference in New Issue