diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-11 10:39:05 +0900 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2019-07-11 10:39:05 +0900 |
commit | 6f86614caa773f9e5fbcc0f2cf2482c8169e1f08 (patch) | |
tree | ad423a90fdc78f50ccd12548df1213281c15d3c0 /doc/development/fe_guide | |
parent | 48fa47e07d54979b70704beb16ea55548f2190c4 (diff) | |
download | gitlab-ce-docs-markdown-header-lint.tar.gz |
Clean up headers in markdowndocs-markdown-header-lint
Some markdown headers needed tweaking to adhere
to standards, including blank lines above and below,
only one space after hash, first header should be
h1, and only one h1 per doc
Diffstat (limited to 'doc/development/fe_guide')
-rw-r--r-- | doc/development/fe_guide/axios.md | 3 | ||||
-rw-r--r-- | doc/development/fe_guide/style_guide_scss.md | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/development/fe_guide/axios.md b/doc/development/fe_guide/axios.md index 0d9397c3bd5..09b4a3c3d96 100644 --- a/doc/development/fe_guide/axios.md +++ b/doc/development/fe_guide/axios.md @@ -1,15 +1,18 @@ # Axios + We use [axios][axios] to communicate with the server in Vue applications and most new code. In order to guarantee all defaults are set you *should not use `axios` directly*, you should import `axios` from `axios_utils`. ## CSRF token + All our request require a CSRF token. To guarantee this token is set, we are importing [axios][axios], setting the token, and exporting `axios` . This exported module should be used instead of directly using `axios` to ensure the token is set. ## Usage + ```javascript import axios from './lib/utils/axios_utils'; diff --git a/doc/development/fe_guide/style_guide_scss.md b/doc/development/fe_guide/style_guide_scss.md index 5220c9eeea3..f127e81f5fe 100644 --- a/doc/development/fe_guide/style_guide_scss.md +++ b/doc/development/fe_guide/style_guide_scss.md @@ -212,6 +212,7 @@ selectors are intended for use only with JavaScript to allow for removal or renaming without breaking styling. ### IDs + Don't use ID selectors in CSS. ```scss |