Skip to content

Commit fd7ecdc

Browse files
authored
Merge pull request #20761 from dvdksn/manuals-section
hugo: move content files, use filesystem-based navigation
2 parents 76cc39c + 5c22a72 commit fd7ecdc

File tree

971 files changed

+2011
-3926
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

971 files changed

+2011
-3926
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ The website is built using [Hugo](https://gohugo.io/). The content is primarily
2424
Markdown files in the `/content` directory of this repository (with a few
2525
exceptions, see [Content not edited here](#content-not-edited-here)).
2626

27-
The structure of the sidebar navigation on the site is defined in
28-
[`/data/toc.yaml`](./data/toc.yaml). To rename or change the location of a page
29-
in the left-hand navigation, edit the `toc.yaml` file.
27+
The structure of the sidebar navigation on the site is defined by the site's
28+
section hierarchy in the `contents` directory. The titles of the pages are
29+
defined in the front matter of the Markdown files. You can use `title` and
30+
`linkTitle` to define the title of the page. `title` is used for the page
31+
title, and `linkTitle` is used for the sidebar title. If `linkTitle` is not
32+
defined, the `title` is used for both.
3033

3134
You must fork this repository to create a pull request to propose changes. For more details, see [Local setup](#local-setup).
3235

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ USER root
5050
RUN --mount=type=bind,target=. \
5151
/usr/local/bin/markdownlint-cli2 \
5252
"content/**/*.md" \
53-
"#content/engine/release-notes/*.md" \
54-
"#content/desktop/previous-versions/*.md"
53+
"#content/manuals/engine/release-notes/*.md" \
54+
"#content/manuals/desktop/previous-versions/*.md"
5555

5656
# test validates HTML output and checks for broken links
5757
FROM wjdp/htmltest:v${HTMLTEST_VERSION} AS test

_vendor/github.com/docker/cli/docs/deprecated.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/cli/docs/extend/index.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/global.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@
3131
@apply dark:hue-rotate-180 dark:invert dark:filter;
3232
}
3333

34-
.sidebar-hover {
35-
@apply hover:bg-gray-light-200 hover:dark:bg-gray-dark-200;
36-
}
37-
38-
.sidebar-underline {
39-
@apply underline decoration-blue-light decoration-4 underline-offset-4 dark:decoration-blue-dark;
40-
}
41-
4234
.bg-pattern-blue {
4335
background-color: theme(colors.white / 50%);
4436
background-image: url('/assets/images/bg-pattern-blue.webp');

assets/js/src/sidebar.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

content/engine/tutorials/_index.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
-29.8 KB
Binary file not shown.
-30.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)