Semantic-Org/Semantic-UI-Docs
소개
Official Documentation for Semantic UI
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSemantic Docs
This folder contains the templates used to generate the static website for semantic-ui.com.
This repo can be used to create a fork of the UI documents to serve as styleguide for your project.
Installing Dependencies
You must install DocPad, the static site generator used to create the HTML for the site, to render the contents of this repository.
SUI docs use a version of DocPad compatible with Node 10. It is recommended you install NVM and a compatible node version in order to create the documentation.
nvm install 8
nvm use 8
To run docpad after cloning this repo
npm install -g [email protected]
docpad install;
Then finally to start the server
docpad run
Generating Semantic UI for Docs
Assuming two sibling folders:
- UI folder ./ui
- Docs folder ./docs
- Clone both repos to respective folders
- npm install in both directories
- Go through Semantic UI installer steps (auto)
- In
./uifoldergulp build-docs(builds files to ./docs) - In
./docsfolderdocpad installthendocpad run - Go to http://localhost:9778/ docs should be there
- Optionally run
gulp serve-docsin ./ui to serve any changes from ./ui/src to ./docs
Running the Server
Start the docs server (and generate docs):
# run from inside docs folder that will now contain the compiled docs
# windows users can then navigate to http://localhost:9778
docpad run
Watch for changes from your UI folder, and serve to the docs instance:
gulp serve-docs
Publishing to GitHub Pages
You can publish your docs to GitHub Pages from the command line automatically
docpad deploy-ghpages --env static
Help Fix Typos and Errors
If you find any typos or mistakes, submitting a fix is easy!
- Open the
documents/folder on GitHub - Click the “Edit” button on the appropriate page
- Click to submit a pull request
관련 프로젝트 살펴보기
불러오는 중…