diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-24 16:10:06 +0300 |
---|---|---|
committer | Marcia Ramos <marcia@gitlab.com> | 2019-07-24 16:10:06 +0300 |
commit | 74a34e8b7bd3019b63eeae58abc7185c122bc528 (patch) | |
tree | 217da97f9143b588fcd71c8cef37c30e7eb9a1c9 /doc/development/fe_guide | |
parent | 0ef53789ea0f63598adf1377bd87c1944fd2ecd0 (diff) |
Clean up headers in markdown
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 f895cfd36ac..95c4a094c04 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 |