Skip to content

orefalo/murex-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the documentation for murex shell

https://orefalo.github.io/murex-docs/

Benefits

  • free hosting with your own domain name
  • based on vuepress (no need to learn it, just edit .md files)
  • theme based on vuepress-theme-hope - which comes with tons of features, check it out!
  • auto generates robots.txt and sitemap
  • better landing page
  • local search index
  • nice & slick Murex theme!
  • auto publishing upon content change

Vuepress hope theme provide many many features - many were disabled

Important files

  • docs/.vuepress/config.ts - the main vuepress configuration file, documentation vuepress-theme-hope
  • docs/.vuepress/theme.ts - theme preferences
  • docs/.vuepress/public - static content like icons and images
  • docs/.vuepress/navbar.ts - the configuration of the top level bar
  • docs/.vuepress/sidebar.ts - the configuration of the side bar
  • docs/README - commercial landing page
  • docs/quickmenu/README - the menu that shows in the nav bar

per vuepress conventions, landing pages are called README.md. There is typically a README.md per content folder which can be enriched with metadata.

In the example below, we are instructing vuepress to name the page 'Blog', with an icon 'custom', the page will be picked up by the search under categoryy Murex

---
title: Blog
icon: comment
index: true
category:
  - Murex
---

# Some TITLE

Run local

To run the site locally, use

  • pnpm i
  • pnpm docs:dev

Generate content locally

To generate a static version of the site locally, run

  • pnpm docs:build
  • generates the static html at src/.vuepress/dist

ChangeLog

  • the command index.md had to be renamed, vuepress search has a bug were index.md and README.md land on the same index creating a error
  • adding ``` on code blocks whenever possible
  • <stdin> can be a issue, they should be wrapped in ```
  • remove toc from page, vuepress does a good job at generating them
  • using absolute path is much easier and will resist content relocation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published