Skip to content

draker94/docs.vividus.dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIVIDUS documentation

This is a playbook repo. It's purpose is keeping the way we deploy VIVIDUS documentation and UI customizations. We use

  • Antora as a static site generator
  • Asciidoctor as a documentation format and text processor
  • Lunr as an offline search engine.

Local environment

  1. Install Node.js
  2. Install Antora and Antora Site Generator With Lunr
npm i -g @antora/cli antora-site-generator-lunr
  1. Generate a site
DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH="$(npm -g root)" antora --generator antora-site-generator-lunr antora-playbook-local.yml

IMPORTANT: the cloned docs.vividus.dev repository should be placed by default in the same folder as vividus repository (this behavior could be changed in the playbook).

One liner

 npm i -g @antora/cli antora-site-generator-lunr && \  
 git clone https://github.com/vividus-framework/vividus.git && \   
 git clone https://github.com/vividus-framework/docs.vividus.dev.git && \   
 cd docs.vividus.dev && \
 DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH="$(npm -g root)" antora --generator antora-site-generator-lunr antora-playbook-local.yml && \  
 open ./public/index.html

About

VIVIDUS documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 81.5%
  • CSS 18.1%
  • PHP 0.4%