Skip to main content

BK Project Docusaurus Steps

  • Clone to Visual studio, the AC Docs project from the TFS organization - Documentation-org from pm.aspireclan.com
  • Show a local path to store the AC Docs source code
  • Refer the link https://docusaurus.io/docs/installation or https://docs.aspireclan.com/docs/intro
  • Download and install latest (LTS) version of Node.js, if not installed already. Download the Prebuilt Installer
  • Last installed version is 20.18.0
  • run npm install
  • run npm audit fix (multiple times to fix all vulnerabilities)
  • run npm run start
  • in docusaurus.config.ts add a dropdown menu item 'bk'
,{ 
  label: 'BK', // The text for the first item in the dropdown
  sidebarId: 'bkSidebar',
  to: 'docs/category/bk', // The target URL for the first item
}
  • in sidebars.ts add the sidebar for bk
bkSidebar: [{ type: 'autogenerated', dirName: 'Applications/bk' }],
  • under docs/applications create a new folder structure bk/pages
  • under "pages" folder create a new file with the content as below:
_category_.json
{
  "label": "BK",
  "position": 1,
  "link": {
  "type": "generated-index"
  }
}
  • Under "pages" folder create a new folder "Project Setup SOE"
  • under "Project Setup SOE" folder create a new file with the content as below:
_category_.json
{
"label": "Project Setup SOE",
"position": 1,
"link": {
  "type": "generated-index"
}
}
  • Create a new .mdx file "docusaurussteps.mdx"
  • Capture all documentation related steps here...
  • For creating furhter menus, submenus and pages, follow steps above from Under "pages" folder create a new folder "Project Setup SOE"