phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
101 stars 10 forks source link

Switch documentation hosting from Readme.com to Docusaurus #1327

Closed maxrake closed 8 months ago

maxrake commented 8 months ago

This is part of a larger effort to move https://docs.phylum.io/ from Readme.com to Docusaurus, as a statically generated site. The new site will host all the documentation, regardless of where the docs originate. The CLI docs from this repository are included in the phylum-dev/documentation repository as a git submodule. The format of the markdown docs has been changed to account for operating in the new structure and with Docusaurus as the static site generator.

This PR also removes the doc update job from the release workflow. The release workflow will be updated in a different PR to include a documentation update trigger step in the Release job. This will look a lot like the existing trigger steps there. It can't happen until the documentation repo has a repository_dispatch workflow that allows for such triggering. In the mean time, any CLI releases that occur before this change will need to be manually synced with the documentation repo and deployed from there. Ideally, this will not be needed at all since the trigger workflow is expected before the next CLI release.

Actions taken include:

Testing

The changes from this PR can be viewed now at https://docs-stg.phylum.io/.