-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add typedoc setup and integrate into main docs #13213
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
base: main
Are you sure you want to change the base?
Conversation
f9462ae
to
95e78c6
Compare
|
||
## Releases | ||
|
||
The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as [`wagtail`](https://www.npmjs.com/package/wagtail). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing all this since I don't see any movement towards this effort in the years since this was introduced: https://github.com/wagtail/wagtail/commits/main/client/README.md
and I don't see us heading towards that direction any time soon.
myst_enable_extensions = [ | ||
"attrs_inline", | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed for the .external
link modifier in reference/client.md
to work, so that the relative link to the client-side docs is resolved as an external link instead of treated as a Sphinx document link.
See:
docs/reference/client.md
Outdated
```{include} ../../client/README.md | ||
:end-before: <!-- END --> | ||
``` | ||
|
||
[Proceed to the client-side API documentation.](./client/index.html){.external} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows us to reuse the same paragraphs for the intro in both the Sphinx docs and the Typedoc docs, but with different links to navigate to each other.
https://wagtail--13213.org.readthedocs.build/en/13213/reference/ui/index.html
TBD, whether to:
Integrating with sphinx-js still has some blockers, e.g. pyodide/sphinx-js#275. I also couldn't get typedoc-plugin-mdn-links to work with it, unfortunately.