Skip to content

xcidic/coding-guidelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Repo is development version of coding guidelines for each Xcidic members to follows. Build version published in Branch:gh-pages

Needs

  1. Hugo version 0.25.1. See Installation for specific version.
  2. Quickstart
  3. docdock theme v1.0

Setup

  1. Clone this project. git clone --recursive [email protected]:xcidic/coding-guidelines.git

  2. Enter Project folder cd coding-guidelines

  3. This project included docdock theme already. If you delete it accidentally. You can simply clone the docdock theme

git clone https://github.com/vjeantet/hugo-theme-docdock.git --branch v1.0.0 themes/docdock

Run

 # Run dev
 hugo server

 # Run build
 hugo 

Build destination folder

  • public/

Release to github pages

  1. run hugo to build pages in master branch
  2. checkout to gh-pages branch
     # first clone
     git fetch && git checkout gh-pages
     
     # or
     # you have gh-pages branch in local
     git checkout gh-pages
  3. copy everything inside public to root folder
     cp -a public/ ./
  4. commit and push to gh-pages branch

Releases

No releases published

Packages

No packages published