-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed as not planned
Copy link
Description
Search Terms
github action
github actions
Problem
Github projects should be able to get rendered typedoc published to Github Pages with as little configuration as possible.
Suggested Solution
Relevant Discord conversation:
https://discord.com/channels/508357248330760243/640177505915109377/803749658937131058
Create a dedicated GH Action, for example TypeStrong/typedoc-action, which can render most well-behaved TS projects and push the results to GH pages. The goal is zero configuration required, but flags can control:
- branch and subdirectory where the docs are pushed
- Does publishing overwrite existing branch or merge contents with that's already there (e.g. play nice with docusaurus, or push to a subdirectory of
mainbranch) - enable pull requests and/or topic branches to publish to subdirectory URLs, e.g.
https://myorg.github.io/myrepo/pull-requests/123
Minimal setup might look like this:
# .github/workflows/docs.yml
on:
- push
jobs:
build:
steps:
- uses: actions/checkout@v2
- uses: TypeStrong/typedoc-action@v1
with: repo-token: ${{ secrets.GITHUB_TOKEN }}
papb, Gerrit0, Zamiell, Aankhen, erikhofer and 7 morepapb and TiagoDanin
Metadata
Metadata
Assignees
Labels
No labels