Skip to content

ci: use typedoc for docs - #1362

Merged
shetzel merged 2 commits into
2.0from
cd/api-docs
Sep 22, 2023
Merged

shetzel merged 2 commits into
2.0from
cd/api-docs

Conversation

@cristiand391

@cristiand391 cristiand391 commented Sep 20, 2023 •

Copy link
Copy Markdown
Contributor

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
8 of 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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cristiand391 cristiand391 Sep 20, 2023 •

Copy link
Copy Markdown
Contributor Author

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
@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.

2 participants