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/Rules
AgeCommit message (Collapse)Author
2020-11-24Add vim syntax highlight modeline in RulesAchilleas Pipinellis
Now that the shebang in Rules was removed in https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/1346, add a vim modeline to detect the language.
2020-11-23Remove unnecessary shebangEvan Read
2020-11-17Replace images with their symlinksVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab-docs/-/issues/879 Replacing images with their symlinks allows to save disk space.
2020-11-13Fix even more Rubocop problemsEvan Read
2020-11-12Fix more Rubocop problemsEvan Read
2020-10-21Encode Mermaid HTML to htmlsafe valuesCatalin Irimie
There's an inconsistency with some filters, for example admonition and introduced_in, that call Nokogiri::HTML#fragment on the input and write the output, which means code that looks like tags gets treated as actual HTML tags. This breaks mermaid diagrams because those tags are not valid and the Mermaid JS parser trips over them, converting them to the html-encoded values is what was currently happening for ->> strings and it's working, so pre-converting all of them gets rid of the problem.
2020-08-31Update gitlab_kramdownAchilleas Pipinellis
2020-01-20Make gitlab-svg icons available in the docs markupJacques Erasmus
Added the ability to use gitlab-svg icons in the docs markup
2019-10-15Add support for modern JSJacques Erasmus
Added rollup to the project
2019-06-07Add special styling to "Introduced in" notesAchilleas Pipinellis
2019-05-08Do not compile minified assetsAchilleas Pipinellis
Everything ending in *.min.* will be ignored and be written as is.
2019-03-14Fix broken redirectsAchilleas Pipinellis
If there's a redirect_to defined, take it into account.
2019-01-24Ignore yaml files before building the rest of the contentAchilleas Pipinellis
2018-12-07Revert "Merge branch 'redirect-check-md' into 'master'"Marcia Ramos
This reverts merge request !380
2018-12-07Make sure we pick up URLs pointing to anchor linksAchilleas Pipinellis
Remove the strict regex ending in .md, since redirect URLs can also point to an anchor link.
2018-12-07Check first if there's a 'redirect_url' in the yaml frontmatterAchilleas Pipinellis
If there's a redirect_to, there's no need to further parse the page. If there's not a redirect_to, parse the page content and substitute .md with .html only if it exists.
2018-12-07Check for .md instead of .html in the redirect_to itemAchilleas Pipinellis
Due to first checking if there wasn't an .html extension in the redirect_to item, this was not set if the provided URL was a clean URL. For example: --- redirect_to: 'https://design.gitlab.com' --- would never match one of the rules so as to set the redirect_to item.
2018-11-27Make custom JS scripts version-bumpable like CSSAchilleas Pipinellis
2018-11-07Fix redirect rule in RulesAchilleas Pipinellis
2018-11-06Switch Badges filter from markdown to HTMLGabriel Mazetto
This will allow to preserve the same header id behavior we have in GitLab.
2018-10-31Define a default language to fix codeblock renderingGabriel Mazetto
2018-10-31Allow disabling of TOC with `toc: false` flag in frontmatterGabriel Mazetto
2018-10-31Patch kramdown filter to generate toc similar to the previous used oneGabriel Mazetto
2018-10-31Use Gitlab KramdownGabriel Mazetto
2018-10-31add kramdown as markdown engineMarcia Ramos
2018-10-24Move archives content to an index.html fileAchilleas Pipinellis
This fixes the issue when on the /archives page. The dropdown login is that it takes the Nanoc identifier (file path under content/) and in the archives case it was different than the created file (set in Rules). With this change, the identifier and the ending result are the same, thus the dropdown link no longer 404.
2018-04-17Add badges to docsMarcia Ramos
2018-04-09Add dynamic archivesAchilleas Pipinellis
2018-01-26New layout for redirectsMarcia Ramos
2017-11-27Move layouts down the chain to fix loading issuesAchilleas Pipinellis
Fixes https://gitlab.com/gitlab-com/gitlab-docs/issues/143
2017-09-12Add admonition styles for notes, tips, warnings, etc.Achilleas Pipinellis
There are currently 4 styles: INFO, TIP, CAUTION, DANGER In a doc they are used like: NOTE: This is a note
2017-09-10Let us define a "title: This is a title" in a documentAchilleas Pipinellis
Without this change, the regex was being confused if there were other strings starting with '#' (like code comments)
2017-08-28Merge branch 'enable-disable-toc' into 'master'Achilleas Pipinellis
Enable/disable ToC at will See merge request !107
2017-08-22Render different layoutsAchilleas Pipinellis
This adds the possibility to have multiple layouts when rendering HTML How to: 1. Add a layout in layouts/ 1. In the markdown's yaml file refer to it: layout: article
2017-08-04Enable/disable ToC at willAchilleas Pipinellis
2016-11-24Improve the anchor icon.Connor Shea
2016-11-23Remove filter.Connor Shea
2016-11-17Cleaner filename check.Connor Shea
2016-11-17Exclude Runner's index.md from having a ToCAchilleas Pipinellis
2016-11-17More specific ToC inclusion rule.Connor Shea
2016-11-17Add a Table of Contents. Fix #39.Connor Shea
2016-11-10Remove rescue statement. It's unnecessary now.Connor Shea
2016-11-10Enable autolinking in Redcarpet. Fixes #37.Connor Shea
2016-11-10Whoops.Connor Shea
2016-11-10Encoding bug fixed!Connor Shea
2016-11-10Show file name in encoding errorAchilleas Pipinellis
2016-11-09Add some debugging code and 404 page. Fixes #25.Connor Shea
2016-11-09Remove Let's Encrypt files.Connor Shea
2016-11-08Redirects now actually work like redirects.Connor Shea
2016-11-08Version the SCSS files. Fixes #28.Connor Shea