diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-30 12:10:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-30 12:10:05 +0300 |
commit | a16109b67fdee47ff1ccf4c0c831a0b47a17ab34 (patch) | |
tree | 9199632ee66c3076dfeea279e42e91b2827b5ece /doc/development/documentation/index.md | |
parent | 52c7972910b960f37ae9792cb4d17876244d4bcf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/documentation/index.md')
-rw-r--r-- | doc/development/documentation/index.md | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/development/documentation/index.md b/doc/development/documentation/index.md index 91215ca21b4..c549024ab86 100644 --- a/doc/development/documentation/index.md +++ b/doc/development/documentation/index.md @@ -152,12 +152,7 @@ comments: false Each page can have additional, optional metadata (set in the [default.html](https://gitlab.com/gitlab-org/gitlab-docs/-/blob/fc3577921343173d589dfa43d837b4307e4e620f/layouts/default.html#L30-52) -Nanoc layout), which is displayed at the top of the page if defined: - -- `reading_time`: If you want to add an indication of the approximate reading - time of a page, you can set `reading_time` to `true`. This uses a simple - [algorithm](https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/lib/helpers/reading_time.rb) - to calculate the reading time based on the number of words. +Nanoc layout), which is displayed at the top of the page if defined. ## Move or rename a page @@ -209,8 +204,7 @@ To add a redirect: bundle exec rake "gitlab:docs:redirect[doc/user/search/old_file.md, https://example.com]" ``` - Alternatively, you can omit the arguments, and you'll be asked to enter - their values: + Alternatively, you can omit the arguments and be asked to enter their values: ```shell bundle exec rake gitlab:docs:redirect |