Skip to content

mhzawadi/doc-store-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Document Git repo

This template can be cloned and used to make a document store repo in Git, all folders should have a .template file. The .template file will get used as the index header.

This is also now a Github template, https://help.github.com/en/articles/creating-a-repository-from-a-template

All files should use markdown, as github will reder them as HTML. you then have change tracking of all files.

Before pushing to github, please run the mkindex.sh script to rebuild the index pages. ./mkindex.sh

Please move the post-merge.hook to the ./.git/hooks/ directory, this will auto build indexes whe you pull updates. mv post-merge.hook .git/hooks/post-merge

tools

There are two tools in this repo

  • mkdir will make a new directory and create a template file
  • mkindex will rebuild the index files, please run this before you commit!

Page tags

Do you need to have your page searchable by other words? Wish you could add tags?

Well your wish is now answered, just add the below code to your page (to or bottom)

<!--
tags: this, will , get added, to , the, end, of, your, page, link
-->

code comments

If you include any code in a page, please use the right language as it will colour code.


About

This is a template repo to make a document store in git

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%