-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(wrappers/python): add docstrings, check links
Note that the python docstrings are written using reStructuredText (see https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#rst-primer, https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html). This has some notable differences from markdown: ```rst links: `link text <https://example.com>` inline code: ``code`` ``` As a drive-by fix, I made the `PagefindIndex.config -> _config` private instead of noting that it should be immutable -- I think this sends a clearer message. Finally, I checked that all the documentation site links were correct: ```sh cd docs npm i hugo # build the docs lychee --include-fragments public/ # check the links ``` This validated the link in ./docs/content/docs/py-api.md work, but it turned up another interesting finding: there's a broken link to https://github.com/CloudCannon/pagefind/blob/main/pagefind/features/compound_filtering.feature.
- Loading branch information
Showing
2 changed files
with
110 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters