Skip to content

Commit 93fb35a

Browse files
authored
SITE: clean up CSS (#1641)
1 parent 891a337 commit 93fb35a

File tree

11 files changed

+105
-1088
lines changed

11 files changed

+105
-1088
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
PRs are merged first to the `main` branch of this repo.
44
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/.
66
If your PR is urgent, let the docs team know in the PR comments, and we will do our best to accommodate.
77

88
## Site template files and folders
99

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`.
1111
* **/content**: This folder contains the markdown files. We will have the subfolders like `/develop`, `/integrate`, and `/operate`
1212
* **/assets**: CSS files, site-wide icons, and images.
1313
* **/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.
1515
* **/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).
1616
* **/layouts/home.html**: The home page of the site, that is, the page that is displayed when you open the root path.
1717
* **/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
2020
* **/static**: Any static files that need to be accessed by the site, e.g., CSS or JavaScript.
2121
* **/package.json**: Node.js dependencies. Tailwind, for example, is installed via the Node package manager (`npm`).
2222
* **/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.
2423
* **/Makefile**: We use make to wrap some Hugo commands and to add additional build steps.
2524
* **/tailwind.config.js**: This is the Tailwind CSS framwork's configuration file.
2625
* **/postcss.config.js**: Needed to make Tailwind statically accessible to the site.

0 commit comments

Comments
 (0)