Conversation
93e0dff to
69e7caf
Compare
Codecov Report
@@ Coverage Diff @@
## main #639 +/- ##
==========================================
- Coverage 62.82% 62.72% -0.11%
==========================================
Files 47 47
Lines 5762 5762
==========================================
- Hits 3620 3614 -6
- Misses 1912 1917 +5
- Partials 230 231 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
6cd7f7e to
9352bd1
Compare
8746d06 to
0614ccd
Compare
|
slightly related to this - one problem we had with Envoy docs was that changelogs contained links to content that no longer existed - breaking sphinx in different ways or causing links to be updated to approximately related content we resolved this by using intersphinx so that all the links in the changelogs are versioned and can point to the docs version where the change occurred. its a bit of work to setup/maintain but it resolves the problem - not sure if you will have changelogs in docs - but if you will, its probably worth thinking about |
|
Thanks for the comments and suggestions @phlax! I think at least for now, we did not meet such issues, and this PR is to init the versioned docs, which we do not support yet. I think maybe we can make it work at first, and optimize it later if we meet issues like you pointed. |
|
@phlax #639 (comment) should not be an issue since we use GitHub-generated changelogs and have release-specific release notes. See the v0.2 release announcement as an example. |
08a93e9 to
ba97a35
Compare
docs/index.html
Outdated
There was a problem hiding this comment.
is this generated or will someone need to update this as well as the VERSION file value during every release ?
There was a problem hiding this comment.
The VERSION is generated too, so I think maybe we can generate this file too. Or we can just point to the latest not the current release
There was a problem hiding this comment.
Can we just take this approach to update this value?
docs/v0.2.0/dev/DOCS.md
Outdated
There was a problem hiding this comment.
This should be docs/html to support versioned docs. Otherwise, code 404, message File not found when trying to access a versioned doc.
There was a problem hiding this comment.
Thanks, I forgot to update this, Will be updated later.
|
This PR versions all the docs. Do all docs need to be versioned or just the user docs? THoughts @LukeShu @arkodg @Xunzhuo @skriss @AliceProxy @youngnick |
IMO, we miss something like envoy-website and envoy-mobile site, they have the homepages separated with the docs, the homepage contains things which do not need to be versioned like blogs, announcements and etc. As for the the sphinx docs, they are all versioned. So contents in sphinx docs would be better to be all versioned, we can just add our homepage support after this. Take what istio has as an example:
versioned: Documents. This PR is already big enough, I can work on the non-versioned Homepages later, and finished in v0.3.0-rc1. |
danehans
left a comment
There was a problem hiding this comment.
I run make docs-release TAG=v0.3.0 and see the v0.3.0 docs content is generated:
$ cat VERSION
v0.3.0
$ ls -al docs
total 8
...
drwxr-xr-x 17 daneyonhansen staff 544 Nov 1 08:23 latest
drwxr-xr-x 17 daneyonhansen staff 544 Nov 1 08:23 v0.2.0
drwxr-xr-x 17 daneyonhansen staff 544 Nov 1 08:24 v0.3.0
However, the docs still default to v0.2.0 when I run locally.
docs/index.html
Outdated
There was a problem hiding this comment.
Can we just take this approach to update this value?
Thanks @danehans, right, we need to update the redirect index.html too. I will update this ASAP. |
Signed-off-by: bitliu <bitliu@tencent.com>
Signed-off-by: bitliu <bitliu@tencent.com>
285bdae to
32d9c4a
Compare
b066b5a to
401c8e2
Compare


Resolves: #632
Take this as an example: https://gateway.merbridge.cn
We can access the current release version of EG by https://gateway.merbridge.cn.
And we can access the latest version of EG by https://gateway.merbridge.cn/latest.
Or by clicking the latest docs at the footer of the pages, which redirects to the /latest pages of the site:
We can come back to the current release version of EG by clicking the index title, which redirects to the root page of the site:
Checkout the quickstart guides in two different versions:
Signed-off-by: bitliu bitliu@tencent.com