You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
3
3
PRs are merged first to the `main` branch of this repo.
4
4
Periodically, the docs team will merge `main` into `latest`, which will make the changes visible on the docs site.
5
-
Please be patient, as there may be a lag of several days before `main` is merged into `latest`. If you want to see your changes before they're merged to `latest`, you can see them on https://redis.io/docs/staging/dev/.
5
+
Please be patient, as there may be a lag of several days before `main` is merged into `latest`. If you want to see your changes before they're merged to `latest`, you can see them on https://redis.io/docs/staging/dev/.
6
6
If your PR is urgent, let the docs team know in the PR comments, and we will do our best to accommodate.
7
7
8
8
## Site template files and folders
9
9
10
-
***/archetypes**: A Markdown file needs to have some front matter. An archetype defines which front matter is used when using `hugo new content`. Right now, the only supported archetype is the default one. **Note:** We might want to add additional archetypes in the future because most of our pages contain additional meta data properties like `linkTitle`.
10
+
***/archetypes**: A Markdown file needs to have some front matter. An archetype defines which front matter is used when using `hugo new content`. Right now, the only supported archetype is the default one. **Note:** We might want to add additional archetypes in the future because most of our pages contain additional meta data properties like `linkTitle`.
11
11
***/content**: This folder contains the markdown files. We will have the subfolders like `/develop`, `/integrate`, and `/operate`
12
12
***/assets**: CSS files, site-wide icons, and images.
13
13
***/data**: Data files that are accessed by Hugo and rendered with the help of short codes or partials.
14
-
***/layouts/partials**: HTML templates that are used across sites. Examples are TOCs, breadcrumbs, or headers.
14
+
***/layouts/partials**: HTML templates that are used across sites. Examples are TOCs, breadcrumbs, or headers.
15
15
***/layouts/$type**: Each page type has at least the following templates to implement `single.html` and `list.html`. The `single` template is used to render a discrete page. The `list` template is used to render a collection of related pages (e.g., all sub-pages).
16
16
***/layouts/home.html**: The home page of the site, that is, the page that is displayed when you open the root path.
17
17
***/layouts/404.html**: The default 404 page.
@@ -20,7 +20,6 @@ If your PR is urgent, let the docs team know in the PR comments, and we will do
20
20
***/static**: Any static files that need to be accessed by the site, e.g., CSS or JavaScript.
21
21
***/package.json**: Node.js dependencies. Tailwind, for example, is installed via the Node package manager (`npm`).
22
22
***/config.toml**: Hugo's site configuration, like the root path and menu items. Hugo can access configuration elements when rendering the site. So you can define custom configuration settings here.
23
-
***/syntax.css**: Hugo supports syntax highlighting via shortcodes. The highlighter is configured via this CSS file.
24
23
***/Makefile**: We use make to wrap some Hugo commands and to add additional build steps.
25
24
***/tailwind.config.js**: This is the Tailwind CSS framwork's configuration file.
26
25
***/postcss.config.js**: Needed to make Tailwind statically accessible to the site.
0 commit comments