Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Files

Latest commit

fc404f9 · Oct 23, 2017

History

History

config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 29, 2014
May 30, 2017
Apr 4, 2016
Apr 5, 2016
Oct 23, 2017
Aug 6, 2014
Dec 9, 2015
Jun 3, 2014
Apr 8, 2016
Jun 3, 2014
Mar 1, 2016
Mar 8, 2014

Editing Doc Pages

First, follow these steps: https://github.com/ionic-team/ionic#documentation

Templates in templates folder

  • templates/pages-data.template.html => _layout/docs_api.html
  • templates/index.template.html => The 'index' page for a doc version - http://ajoslin.github.io/docs/0.9.26/
  • templates/lib/yaml.template.html => the common yaml config items that every doc page includes
  • templates/api/componentGroup.template.html => the template for every 'componentGroup' (eg http://ajoslin.github.io/docs/0.9.26/api/ionic/directive/)
  • templates/api/api.template.html - the base that every doc-item extends from
  • templates/api/{something}.template.html - the template for {something} - eg directive.template.html for directives

Not everything in all the pages is used - a lot of it is from Angular templates. Eg things like 'doc.deprecated' aren't used currently.

New Versions

Every version uses its own include for left menu, which is manually written.

The first time a version is generated, if there is no includes/api_menu{{versionName}}.html, it will generate a generic one for you.

Then you can do what you want to edit that.