All Projects β†’ fomantic β†’ Fomantic-UI-Docs

fomantic / Fomantic-UI-Docs

Licence: other
Official Documentation for Fomantic-UI

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Fomantic-UI-Docs

ngx-fomantic-ui
πŸš€ An Angular 10 library for Fomantic UI without jQuery. βš’οΈ Based on @edcarroll's ng2-semantic-ui.
Stars: ✭ 36 (+56.52%)
Mutual labels:  fomantic
Fomantic-UI-LESS
LESS only distribution of Fomantic UI
Stars: ✭ 16 (-30.43%)
Mutual labels:  fomantic
create-fomantic-icons
Generate the icon.overrides and icon.html.eco files for Fomantic-UI (or Semantic-UI)
Stars: ✭ 21 (-8.7%)
Mutual labels:  fomantic
Fomantic Ui
Fomantic-UI is a community fork of Semantic-UI
Stars: ✭ 2,755 (+11878.26%)
Mutual labels:  fomantic

Fomantic Docs

NOTE: Fomantic was created to continue active development of Semantic-UI and has the intent to be merged back into the master repository once active development can restart. For more info please read the following issues https://github.com/Semantic-Org/Semantic-UI/issues/6109 https://github.com/Semantic-Org/Semantic-UI/issues/6413

This folder contains the templates used to generate the static website for fomantic-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.

npm install -g docpad
docpad install eco
docpad update
docpad upgrade

Generating Fomantic UI for Docs

Assuming two sibling folders:

  1. UI folder ./ui
  2. Docs folder ./docs

Directory structure should look like this:

fomantic/
β”œβ”€β”€ ui/
β”‚   β”œβ”€β”€ node_modules/
|   β”œβ”€β”€ ...
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ node_modules/
|   β”œβ”€β”€ ...
  • Clone both repos to respective folders
  • npm install in ./ui
  • npm install in ./docs
  • Go through Fomantic UI installer steps (auto)
  • In ./ui folder gulp build-docs (builds files to ./docs)
  • In ./docs folder docpad install then docpad run
  • Go to http://localhost:9778/ docs should be there
  • Optionally run gulp serve-docs in ./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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].