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

ci: use typedoc for docs #1362

Merged
merged 2 commits into from
Sep 22, 2023
Merged

ci: use typedoc for docs #1362

merged 2 commits into from
Sep 22, 2023

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Sep 20, 2023

Adds publish-docs workflow to build documentation from code using typedoc.

TODO

How to test:
Go to https://github.com/jsforce/jsforce/actions and run the publish-docs workflow, site should be up here:
https://jsforce.github.io/jsforce/ (this is already deployed from previous testing, check the v2-docs branch to see it actually committed the changes).

This PR also removes CircleCI config file
our GHA workflow already covers browser/node test scenarios

@W-9127316@

@cristiand391 cristiand391 mentioned this pull request Sep 20, 2023
9 tasks
git fetch origin v2-docs:v2-docs
git worktree add docs v2-docs
npx typedoc --out docs/tmp
cp -r docs/tmp/* docs/tmp/..
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

@cristiand391 cristiand391 Sep 20, 2023

Choose a reason for hiding this comment

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

also, generating docs in docs/tmp and then moving them back to docs is just to not mess the git working tree in docs

@shetzel shetzel merged commit 8b9c698 into 2.0 Sep 22, 2023
3 of 7 checks passed
@shetzel shetzel deleted the cd/api-docs branch September 22, 2023 20:57
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.

None yet

2 participants