Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge duplicate FAQ pages about duplicate note types #42

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Danika-Dakika
Copy link
Collaborator

For a while now, we've had 2 FAQ pages that say basically the same thing about managing duplicate note types -- https://faqs.ankiweb.net/removing-duplicate-note-types.html and https://faqs.ankiweb.net/note-types-with-strange-names.html . This merges those into one FAQ, updates the text for style and menu references, deletes the now-unnecessary page (and removes it from the TOC), and adds a redirect renderer to book.toml to preserve legacy links.

Redirect renderer:
I'm only about 80% confident that I formed the links correctly. I followed the docs about how to create this redirect section -- https://rust-lang.github.io/mdBook/format/configuration/renderers.html#outputhtmlredirect . In all the examples I could find, the links were html page references (as opposed to md), so I went with that.

added redirect
added redirect
updated TOC
merged in text from note-types-with-strange-names.md
text was merged into removing-duplicate-note-types.md
added output.html.redirect section
merged in text from note-types-with-strange-names.md
added output.html.redirect section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant