Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !37341

Docs: use 'added' page information to display a tag on top of the pages

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julien Déramond requested to merge main-jd-use-page-added-in into main Oct 19, 2022
  • Overview 4
  • Commits 2
  • Pipelines 0
  • Changes 2

Description

In some of our Markdown files, we got an added information but apparently we never display that information:

https://github.com/twbs/bootstrap/blob/39bbca5dddccfce03a552231a6ed289faa4dc86f/site/content/docs/5.2/helpers/color-background.md?plain=1#L1-L8

This PR suggests to use this information and to display it on top of the corresponding pages next to the "View on GitHub" button.

Screenshot 2022-10-19 at 11 30 16

Motivation & Context

Bring more information to the users about the latest changes.

Type of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly

Live previews

  • Components > Placeholders
  • Helpers > Color & background
  • Helpers > Stacks
  • Helpers > Vertical rule
  • Layout > CSS Grid
  • Utilities > Opacity
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: main-jd-use-page-added-in