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 versioning support #89

Closed
appetrosyan opened this issue Jul 25, 2022 · 2 comments
Closed

Add versioning support #89

appetrosyan opened this issue Jul 25, 2022 · 2 comments
Assignees
Labels
M-meta Issues/PRs on the documentation itself (presentation, localization, navigation, etc.)

Comments

@appetrosyan
Copy link
Contributor

We need to support three versions of Iroha simultaneously:

  • Iroha2
  • Iroha2-dev
  • Iroha2-lts

We need to annotate features only present in dev and deprecated since lts.

Proposed solution

Have a custom vitepress environment e.g.

::: Dev-only

for features which are only available in Dev. Another environment for deprecated features (e.g. avaialable in LTS only) and one for difference in behaviour e.g.

::: Diff LTS Dev

In LTS this does X, 

But on `iroha2-dev` it does Y. 
:::
@appetrosyan appetrosyan added documentation M-meta Issues/PRs on the documentation itself (presentation, localization, navigation, etc.) labels Jul 25, 2022
@6r1d
Copy link
Contributor

6r1d commented Jul 25, 2022

I can think of these options right now:

  • Subdomains / directories
  • A custom, or possibly, an existing component to include code / text
  • A custom component to integrate in the docs and show the commands for a given version in the tabs (but that doesn't deal with the documentation text)

@outoftardis
Copy link
Contributor

@6r1d which version is going to be the default one? LTS? stable?

6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 14, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 14, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 15, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 15, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 15, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 15, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 15, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 21, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 21, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
Co-authored-by: 0x009922 <a.marcius26@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
Co-authored-by: 0x009922 <a.marcius26@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Signed-off-by: 6r1d <vic.6r1d@gmail.com>
Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 22, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 23, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 23, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 23, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
6r1d added a commit to 6r1d/iroha-2-docs that referenced this issue Sep 23, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
appetrosyan pushed a commit to 6r1d/iroha-2-docs that referenced this issue Sep 23, 2022
…update tutorial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
appetrosyan pushed a commit that referenced this issue Sep 23, 2022
…rial

Co-authored-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M-meta Issues/PRs on the documentation itself (presentation, localization, navigation, etc.)
Projects
None yet
Development

No branches or pull requests

3 participants