Everything required to add a Docsify site to ACS course repos.
Includes the following features built in:
- Websites available offline.
- Ability to search and display any
.mdfile in your repo linked in_sidebar.md. - Syntax highlighting for multiple programming languages
- Emojis in the following format
:100:. - Added functionality: Copy to Clipboard function, flexible alerting.
- Install
docsify-cli:npm install -g docsify-cli. - (Optional) Install
npm install -g tocsifyto generate directory-based sidebars.
- Download the latest release in the Releases tab.
- Unzip the downloaded file.
- Move
_navbar.md,_sidebar.md,.nojekyll,index.html, and theWebfolder to your local course repository. - IMPORTANT: **Update
_sidebar.mdwith course materials that you want searchable.**m - Open
index.htmlin a text editor.- Scroll down and replace
REPO_NAMEon lines24-27and43with the repo name for your course (ex:BEW-2.5-Strongly-Typed-Ecosystems) - Finally, update lines
6through11and41with relevant information for your course.
- Scroll down and replace
- use
<!-- tabs:start -->and<!-- tabs:end -->to tabulate sections of your syllabus. - Test locally by running
docsify serve .in the root of the repo. - Add, commit, and push your changes to
origin/master.
- Navigate to the Settings tab of your course repository.
- Scroll down to the GitHub Pages settings.
- Select
masterin the Source drop-down. - Submit to enable GitHub Pages for your repo.
- Select
- Click the resulting
https://tech-at-du.github.iolink to test the deployment.