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
.md
file 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 tocsify
to 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 theWeb
folder to your local course repository. - IMPORTANT: **Update
_sidebar.md
with course materials that you want searchable.**m - Open
index.html
in a text editor.- Scroll down and replace
REPO_NAME
on lines24-27
and43
with the repo name for your course (ex:BEW-2.5-Strongly-Typed-Ecosystems
) - Finally, update lines
6
through11
and41
with 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
master
in the Source drop-down. - Submit to enable GitHub Pages for your repo.
- Select
- Click the resulting
https://tech-at-du.github.io
link to test the deployment.