Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2022-11-16 01:58:56 +0300
committerEvan Read <eread@gitlab.com>2022-11-16 01:58:56 +0300
commit12af2ae89170938f6586514d46ba21f0d35ebf1c (patch)
tree40ecfd90ba70b98879ae42e09dad854872717c19 /doc
parent9f7615d7b9301ac596ac3f2fc015004de0bd2ee7 (diff)
Remove references to CSS in the bump version docs
Diffstat (limited to 'doc')
-rw-r--r--doc/development.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/development.md b/doc/development.md
index fb6e8b6f..b33ffdff 100644
--- a/doc/development.md
+++ b/doc/development.md
@@ -74,9 +74,9 @@ Libraries that are not specific to individual components (e.g, jQuery) are bundl
This is a pattern to avoid going forward -- ideally third-party libraries are only loaded from components that require them -- but this allows us to utilize yarn for package management and avoid external CDNs while the site is still only partially component-driven.
-## Bump versions of CSS and JavaScript
+## Bump versions of JavaScript
-Whenever the custom CSS and JavaScript files under `content/assets/` change,
+Whenever the JavaScript files under `content/assets/` change,
make sure to bump their version in the front matter. This method guarantees that
your changes take effect by clearing the cache of previous files.
@@ -85,8 +85,6 @@ layouts. For example use:
```js
<script async type="application/javascript" src="<%= @items['/assets/javascripts/badges.*'].path %>"></script>
-
-<link rel="stylesheet" href="<%= @items['/assets/stylesheets/toc.*'].path %>">
```
The links pointing to the files should be similar to: