diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-09 21:07:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-09 21:07:32 +0300 |
commit | cd22685717501ac6f3c81e16418270123a2cccee (patch) | |
tree | eb45b2ea1c3ac174aaa4fd54a38901f1f8420838 /doc/development | |
parent | 1f753bca2624be1e507424127fe0d48b9765da70 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/fe_guide/frontend_faq.md | 7 | ||||
-rw-r--r-- | doc/development/testing_guide/end_to_end/execution_context_selection.md | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/development/fe_guide/frontend_faq.md b/doc/development/fe_guide/frontend_faq.md index b8e98b47cac..0ab64841365 100644 --- a/doc/development/fe_guide/frontend_faq.md +++ b/doc/development/fe_guide/frontend_faq.md @@ -202,3 +202,10 @@ To see what polyfills are being used: ### 9. Why is my page broken in dark mode? See [dark mode docs](dark_mode.md) + +### 10. How to render GitLab-flavored Markdown? + +If you need to render [GitLab-flavored Markdown](../gitlab_flavored_markdown/index.md), then there are two things that you require: + +- Pass the GLFM content with the `v-safe-html` directive to a `div` HTML element inside your Vue component +- Add the `md` class to the root div, which will apply the appropriate CSS styling diff --git a/doc/development/testing_guide/end_to_end/execution_context_selection.md b/doc/development/testing_guide/end_to_end/execution_context_selection.md index f625dc466b9..f940cf289d9 100644 --- a/doc/development/testing_guide/end_to_end/execution_context_selection.md +++ b/doc/development/testing_guide/end_to_end/execution_context_selection.md @@ -48,6 +48,7 @@ Matches use: | The `nightly` and `canary` pipelines | `only: { pipeline: [:nightly, :canary] }` | ["nightly scheduled pipeline"](https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules) and ["canary"](https://gitlab.com/gitlab-org/quality/canary) | | The `ee:instance` job | `only: { job: 'ee:instance' }` | The `ee:instance` job in any pipeline | | Any `quarantine` job | `only: { job: '.*quarantine' }` | Any job ending in `quarantine` in any pipeline | +| Local development environment | `only: :local` | Any environment where `Runtime::Env.running_in_ci?` is false | | Any run where condition evaluates to a truthy value | `only: { condition: -> { ENV['TEST_ENV'] == 'true' } }` | Any run where `TEST_ENV` is set to true ```ruby |