Sequoia Creative Lab's open source career ladder guide. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
The career ladder uses Docute.js, built on Vue.js, to build out the career ladder documentation style.
Docute allows us to
- Automatically build out the table of contents in the sidebar
- Track scroll depth and highlight corresponding section in the sidebar.
- Create anchor links for each heading.
- Handle basic scroll animations.
- Set up a separate landing page.
The content of the site lives in the readme.md
markdown file in the docs
folder. For tips on writing markdown, check out this markdown cheatsheet.
npm i -g docute-cli
git clone [email protected]:sequoiacreativelab/career-ladder.git
cd career-ladder/docs
docute ./docs
Open http://localhost:8080/#/
on your browser.
docute.init
(found in the index.html file) accepts an argument for setting configurations:
docute.init({
// ...config goes here
})
The landing
page is set as an object in the config:
docute.init({
landing: {
source: 'landing.html'
}
})
There are three places to populate your docs:
./docs
folder- master branch
- gh-pages branch
Just select it in repo's settings page after pushed files: