Skip to content

Migrate the docs SSG to Docusaurus #4396

@Jwaegebaert

Description

@Jwaegebaert

Issues

High Prio

High Prio After Deploy

Low Prio

Info:

For our docs, we will be changing the current Python-based SSG to a JavaScript one, Docusaurus to be more specific. This has been concluded from our recent discussion #4283 (comment).

Docusaurus comes with a bunch of out-of-box features that align well with our current docs setup. Pages are written in MarkDown, layered navigation, table of content for each page, and much more. We currently have a PoC running where you can look at the new UI/UX.

PoC

Regarding the PoC, an example of our docs is available at https://jwaegebaert.github.io/cli-microsoft365-docusaurus/
I've built it with version 6.1 and the source code is available in the repo https://github.com/Jwaegebaert/cli-microsoft365-docusaurus.

There are a few things to keep in mind when looking through the PoC.

  • The search engine isn't enabled because we'll look into making our search engine with Azure Cognitive Search.
  • The admonition syntax is different from MKDocs so they won't be rendered correctly.
  • The same goes for the tabs we use with the command outputs but I've refactored all the Planner commands so be sure to take a peak there. planner bucket add
  • Navigation has been modified a bit with landing pages for the categories. planner
  • Navigation in mobile view doesn't look super clean yet, the same goes for the footer

ToDo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions