Repo Added
|
Files
34
|
Badge
README BADGES
|
push
github
Docs update to upstream hugo relearn 7.3.2 (#6267) Minor fixup: It should be ready for a new round reviews now: The incremental change consists only of the required incremental fixes (see the [Compare link](https://github.com/xapi-project/xen-api/compare/e92341cd8..7f64d0728) of it. - Review comment from Pau applied: Reverted not running the required pull_request workflows. - Review comment from Pau applied: Fixed not even temporarily using private forks: Squashed commits - While squashing those changes, I: - Split change from `menuTitle` to `linkTitle` into an initial commit (can be done first) - Squashed the changes for `doc/hugo.toml` into one commit. - and extracted the change to `hugo.toml` into one commit (support current Hugo versions) - Squashed the changes for `doc/README.md` into one commit (no intermediate changes) - I found one inadvertent revert of a previous simplification: I removed this accidental revert. ---- Hugo docs: Fix upstream Hugo compatibility: - Includes the fixed commit from #6264, and - Adds a 2nd commit to complete the fix for upstream compatibility. ### Update Hugo version support to work with the current Hugo version This PR fixes using the Ubuntu snap to render the Hugo docs. Relearn 7.x completely REMOVED the `header.html` and `footer.html` partials Partials that useed them are: - https://github.com/xapi-project/xen-api/blob/master/doc/layouts/xenapi/class.html - https://github.com/xapi-project/xen-api/blob/master/doc/layouts/xenapi/release.html To update to 7.x, these had to be moved to the content.html partial, as documented. Changes: - Hugo Relearn 6.x uses the `linkTitle` front matter option now: Quote from the release notes: _The front matter option `menuTitle` [deprecated in 5.24.0](https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/5/index.html#5-24-0) was removed in favour for Hugo’s linkTitle._ - Newer versions of ... (continued)
3457 of 4418 relevant lines covered (78.25%)
0.78 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|