Skip to content

Commit

Permalink
docs: remove versioned docs completley (#1436)
Browse files Browse the repository at this point in the history
## Description:
We remove versioend docs for better indexing

Users should go to GitHub and checkout the tag they want docs for

## Is this change user facing?
YES

## References (if applicable):
Closes #1283 
Closes #1063
  • Loading branch information
h4ck3rk3y authored Sep 29, 2023
1 parent 85ed896 commit 3289ed9
Show file tree
Hide file tree
Showing 975 changed files with 0 additions and 84,817 deletions.
73 changes: 0 additions & 73 deletions .github/prune_old_docs.py

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/change-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,6 @@ jobs:
api/scripts/update-package-versions.sh "$(cat version.txt)"
api/scripts/update-own-version-constants.sh "$(cat version.txt)"
scripts/update-license-version.sh "$(cat version.txt)"
- run: |
sudo apt install nodejs yarn
name: Set up Node & Yarn for cutting new version of docs
- name: Cut a New Docs version
run: |
version="$(cat version.txt)"
# revert any other docs changes made in this release please pr so far
git rm -r docs/
git checkout origin/main -- docs/
cd docs/
# Very important to use Yarn, rather than NPM so we don't get two lockfiles!
# Also, important to use a frozen lockfile so that Yarn isn't silently pushing updated dependencies right to 'main'
yarn --frozen-lockfile install
yarn run docusaurus docs:version "${version}"
cp ../CHANGELOG.md "versioned_docs/version-${version}/changelog.md"
- name: Prune Old Docs
run: |
cd docs/
python ../.github/prune_old_docs.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
token: "${{ secrets.RELEASER_TOKEN }}"
10 changes: 0 additions & 10 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
versions: {
current: {
label: 'Upcoming Release',
}
},
admonitions: {}, // Add this line to enable admonitions

// TODO TODO Run Remark plugins through Docusaurus itself (right now we're running it via yarn and package.json)!! See https://docusaurus.io/docs/markdown-features/plugins#installing-plugins
Expand Down Expand Up @@ -97,11 +92,6 @@ const config = {
position: 'left',
label: 'Kurtosis for Web3',
},
{
type: 'docsVersionDropdown',
position: 'right',
dropdownActiveClassDisabled: true,
},
{
href: 'https://github.com/kurtosis-tech/kurtosis/issues/new?assignees=leeederek&labels=docs&template=docs-issue.yml',
position: 'right',
Expand Down
44 changes: 0 additions & 44 deletions docs/versioned_docs/version-0.78.5/best-practices.md

This file was deleted.

Loading

0 comments on commit 3289ed9

Please sign in to comment.