Investigate how to keep old doc versions in the website without building them on every build.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
审查标准的 Antora component explorer、site manifest 方案,以及现有的特定于子项目的部分文档构建流程。定义如何构建活动分支、如何保留非活动页面,以及如何在不重新构建每个旧版本的情况下发布完整站点。
由索引模型根据 Issue 内容生成。
描述
It would be great to keep all the old doc versions accessible in our website:
- links from old blog posts would keep working
- external links would keep working
- Someone stuck on an old version could find the docs
However...
- building an ever growing set of doc versions on every build will soon take too long to be practical
- Without a way to hide obsolete doc versions, the component explorer will become unwieldy
In any case, I believe we have to rebuild the entire site when the UI changes or Antora is significantly upgraded.
At the moment we are using the standard Antora component explorer, which includes the whole explorer in every page. There are other solutions such as putting this stuff in a separate json document and rendering the json on each page. If we stick with the default component explorer I think we have to rebuild the entire site whenever we add a doc version, so the explorer on old pages can get to all versions.
For all other site builds, I think it should be possible to do something using a site manifest similar to the subproject-specific partial doc builds to only build "active" doc branches while using the already-built pages for the "inactive" doc branches. Together with setting up the partial builds, we'll need to figure out how to publish a complete site when only part of it has been "just built". Either we have to remove only the "old, active" pages when publishing the site, or find an independent way to archive the inactive pages and add them to the "built site" before committing.
- 主要语言
- JavaScript
- 星标
- 79
- 派生
- 209
- 平均合并
- 22 小时 55 分钟
- 30 天内合并 PR
- 28
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/camel-website 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
apache/camel-website#1872 ·
维护者通常 1 天内回复
-
The Content-Security-Policy header must not be overridden可能重新可做 @GaneshPatil7517 于 313 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
apache/camel-website#1427 · 5 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
apache/camel-website#1871 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 30/100
apache/camel-website#1870 ·
维护者通常 1 天内回复
-
Camel CLI: install with Homebrew (brew install apache-camel)可能重新可做 @Code-with-Rudro 于 10 天前认领,目前没有进行中的 PR。 未关闭
难度 3/5 1-2 天 新手友好度 50/100
apache/camel-website#1847 · 2 条评论 ·
维护者通常 1 天内回复
查看 apache/camel-website 的全部 Issue
相似的 Issue
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10可能已有人在做 @goranai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
NL-BioImaging/OMERO.biomero#92 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
LinkNacional/woo-rede#367 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复