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

docs: publish typedocs in gh-pages branch #233

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Dec 15, 2022

Updates aegir to the latest version which has reinstated the docs command to publish typedocs in the gh-pages branch of repos.

A typedoc-urls.json file is now generated as part of the docs run which allows cross-linking between module docs.

This file lives at the "well known" location of dist/typedoc-urls.json in the published tarball, so the files list in package.json needed changing as it's currently only publishing dist/types.

See https://multiformats.github.io/js-multiaddr for an example.

Updates aegir to the latest version which has reinstated the `docs`
command to publish typedocs in the `gh-pages` branch of repos.

A `typedoc-urls.json` file is now generated as part of the docs run
which allows cross-linking between module docs.

This file lives at the "well known" location of `dist/typedoc-urls.json`
in the published tarball, so the `files` list in `package.json` needed
changing as it's currently only publishing `dist/types`.
@achingbrain achingbrain changed the title fix: publish typedocs in gh-pages branch docs: publish typedocs in gh-pages branch Dec 15, 2022
Copy link
Collaborator

@RangerMauve RangerMauve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@achingbrain achingbrain merged commit 3a6d3ed into master Dec 16, 2022
@achingbrain achingbrain deleted the fix/publish-typedocs branch December 16, 2022 09:27
github-actions bot pushed a commit that referenced this pull request Dec 16, 2022
## [10.0.3](v10.0.2...v10.0.3) (2022-12-16)

### Documentation

* publish typedocs in gh-pages branch ([#233](#233)) ([3a6d3ed](3a6d3ed))
@github-actions
Copy link

🎉 This PR is included in version 10.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants