docs icon indicating copy to clipboard operation
docs copied to clipboard

Version documentation

Open lukehoban opened this issue 5 years ago • 2 comments

It would be nice if our docs were versioned so that users could navigate directly to the 1.8 docs. This may make sense initially just for API Docs (each of which versions independently).

lukehoban avatar Jan 23 '20 01:01 lukehoban

Just adding my comment from Slack:

I find this feature incredibly useful, especially for emerging projects which are advancing rapidly, introducing significant new features (often independently transitioning from preview mode to GA), making selected backwards-incompatible changes, and so on. There is no substitute for direct navigation to e.g. the 1.7.1 Python SDK or 1.9.0 TS SDK, etc.

dstine avatar Jan 23 '20 12:01 dstine

@lukehoban definitely have a look at Antora. If you want an example of a big site created with this tool:

  • https://docs.couchbase.com
  • Source entrypoint: https://github.com/couchbase/docs-site/blob/master/production-antora-playbook.yml

And a smaller example:

  • https://terra-farm.github.io
  • source entrypoint: https://github.com/terra-farm/terra-farm.github.io/blob/site/site.yml

The biggest advantage of this tool:

  • works with docs out of multiple repositories
  • uses branches and tags to mark the different versions
  • uses AsciiDoc, which is a more extensive but fully standardised markup language.

ringods avatar Jan 24 '20 19:01 ringods