Skip to content

docs: fix broken links to default_parse_stack and default_unparse_stack#521

Open
wali-reheman wants to merge 1 commit intosciunto-org:mainfrom
wali-reheman:fix/broken-links-docs
Open

docs: fix broken links to default_parse_stack and default_unparse_stack#521
wali-reheman wants to merge 1 commit intosciunto-org:mainfrom
wali-reheman:fix/broken-links-docs

Conversation

@wali-reheman
Copy link
Copy Markdown

Summary

Fixes #469 — documentation links to the default parse and write stacks are now resolvable.

Problem: The Customize page referenced the default middleware stacks without linking to the functions that build them. The RST used links to middleware classes rather than links to and , making those links appear as dead links on the rendered docs.

Changes:

  1. docs/source/customize.rst: Updated the 'Default Parse and Write Stacks' section to explicitly reference and , which are the actual builder functions.

  2. docs/source/bibtexparser.rst: Added to the API reference with so Sphinx autodoc generates links for the functions.

Test Plan

  • Documentation builds without warnings ()
  • and appear as linked references in the rendered docs

Closes #469

Fixes sciunto-org#469. The docs referenced :class: links to ResolveStringReferencesMiddleware etc.
in the context of 'default parse stack', but did not link to the actual functions that build
the stacks (:func:~bibtexparser.middlewares.parsestack.default_parse_stack and
default_unparse_stack). Updated the section text to reference the builder functions,
and added parsestack to the API reference so autodoc generates links for them.
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.

docs: links to code not working

1 participant