Skip to content

Latest commit

 

History

History
159 lines (120 loc) · 3.56 KB

editor-components.mdx

File metadata and controls

159 lines (120 loc) · 3.56 KB
meta content
title description noindex
Editor Components listing
Display all components used by main Editors in Docs
true
h1 paragraph
Editor Components listing
Display all components used by main Editors in Docs

SWITCH TO CONTRIBUTOR COMPONENTS


Button

Steps & StepButton

How-to create an account
How-to create an Instance How-to create an account

GeneralLinks


Log (Changelog)

🧩  This functionality uses MDX files.

See Changelog page.

Each "Log" is an MDX file:

  • Go to the changelog/ folder
  • Add or choose a directory relative to the log you want to add
  • Create a .mdx file in it

NOTES:

  • Organize the changelog/ folder structure as you want
  • The .mdx filename does not matter
  • Assets should be in an asset directory, sibling of your .mdx file

Log file frontmatter

At the top of the .mdx file, you MUST add the frontmatter data:

---
title: Migration to the new S3 backend (HIVE) for all regions
status: changed
author:
    fullname: 'Join the #container-registry channel on Slack.'
    url: 'https://slack.scaleway.com/'
date: 2022-01-02
category: compute
product: container-registry
---
  • title (mandatory)
  • status (mandatory)
    • added
    • security
    • changed
    • deprecated
    • removed
    • fixed
  • author
    • fullname (optional / mandatory IF url is set). It could be a name or a sentence, as you prefer.
    • url (optional)
  • date (mandatory) YYYY-MM-DD
  • category (mandatory) kebab-case
  • product (mandatory) kebab-case

Log file contents

The content section works as any documentation .mdx file. It accepts both markdown and components. Be concise !

About Download link in content

  • Use [Download](document-pdf-name.pdf) the document as PDF file.
  • Place the PDF file in a sibling assets directory
    • This is useful to automatically get the filesize data
  • Then, it should appear like this (with PDF icon):
    • 📄 <strong style={{textDecoration: "underline", color: "#bc4fff"}}>Download (PDF, 2.26MB) the document as PDF file.


Navigation

PreviousButton, NextButton

Previous Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.

Navigation with title

Previous Lorem ipsum dolor sit amet

Navigation with one button

Previous Lorem ipsum dolor sit amet