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

Add docs versioning #922

Merged
merged 14 commits into from
Dec 6, 2021
Merged

Add docs versioning #922

merged 14 commits into from
Dec 6, 2021

Conversation

edew
Copy link
Contributor

@edew edew commented Nov 30, 2021

Type of PR: enhancement

PR checklist:

  • Addresses an existing issue: fixes #
  • Includes tests
  • Documentation update

Overview of change:

This PR adds enables Docusaurus' versioning feature. We will structure our docs according to the first "use case" mentioned here in the Docusaurus docs:

You release v1, and start immediately working on v2 (including its docs)

So we have a "next" version that shows the work in progress documentation, and specific versions like 3.7.0 that contain the documentation for the library

A version has been added for 3.7.0.

I've added an index page with a hero section and a randomly generated example chart. We should improve this index page in the future (we could put an interactive playground here for example) but for now we need something to show when the root of the site is requested.

Is there anything you'd like reviewers to focus on?

Linking between versioned docs requires the .md extension to be included, hence the changes in this PR.

@edew edew requested a review from timocov November 30, 2021 18:02
.circleci/config.yml Outdated Show resolved Hide resolved
website/README.md Show resolved Hide resolved
website/docs/intro.md Show resolved Hide resolved
website/sidebars.js Show resolved Hide resolved
website/sidebars.js Show resolved Hide resolved
website/package.json Outdated Show resolved Hide resolved
website/package.json Outdated Show resolved Hide resolved
website/src/pages/index.tsx Outdated Show resolved Hide resolved
website/src/pages/index.tsx Outdated Show resolved Hide resolved
website/src/pages/index.tsx Outdated Show resolved Hide resolved
@edew edew requested a review from timocov December 1, 2021 17:02
@timocov timocov merged commit 70430d9 into tradingview:master Dec 6, 2021
@timocov timocov added this to the 3.8 milestone Dec 6, 2021
@timocov timocov added the documentation Improvements or additions to the documentation label Jan 25, 2022
@timocov timocov modified the milestone: 3.8 Jan 28, 2022
@edew edew deleted the add-docs-versioning branch January 31, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants