GithubHelp home page GithubHelp logo

ionic-team / ionic-legacy-docs Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 257.0 1.09 GB

License: Apache License 2.0

Ruby 0.01% JavaScript 48.77% CSS 25.18% TypeScript 4.80% HTML 6.18% Shell 0.01% SCSS 15.05% Procfile 0.01%

ionic-legacy-docs's Introduction

ionic-legacy-docs

Note: This is a legacy version of our site for v2/3 docs. It was forked from ionic-site at the time of the Ionic v4 launch. Only critical bugs will be fixed. For example, this site does not run in node 11+. You must use node v10.x.

Repo for the ionicframework.com site. To preview local Ionic changes, follow the instructions at the Ionic repo.

gulp watch uses LiveReload. You may have to up your max file limit with the following command:

ulimit -n 7000

Local Build

  1. Run npm install

  2. Install gems (Jekyll and kramdown): npm run bundle-install

    This will re-construct your Gemfile.lock for the specific platform you are developing on and exclude it from Git. If you need to make a change to the Gemfile, or are updating gems, you will need to remove the Gemfile.lock from .git/info/exclude.

  3. Run gulp watch (after the first run, this is the only step needed)

CI Explanation

Ionic v1 and v2 now automatically deploy their changes to an Ionic staging server. Ionic team members are given permission to the staging and production servers in Heroku. V1 and V2 docs changes go as follows:

  1. Change the content of the docs as necessary.
  2. Optionally preview the changes by running gulp docs in the Ionic v1/2 repo, and gulp watch in ionic site, which should be a sibling directory of the ionic and ionic2 repos.
  3. Commit and push changes
  4. Sit back. The Ionic v1 CI tasks and the Ionic v2 CI tasks will generate the new docs and push them to the ionic-site repo. The ionic-site CI tasks will then build them and automatically deploy them to the staging server.
  5. Preview changes on the staging server and promote the changes to production if all looks well. Be sure to give the site a quick look over to make sure things look good.

Third Party Libraries

3rd part libraries should be concatenated into the site bundle by adding them via package.json and specifying what files to include in the assets/3rd-party-libs.json file.

Deploy

Changes to master are automatically deployed to ionic-site-staging.herokuapp.com/. Periodically, the core framework will inspect staging and promote it to ionicframework.com.

Troubleshooting

Occasionally, people get a Jekyll error the first time they run gulp watch. Try deleting Gemfile.lock and re-running bundle install and then try again. Be sure to set your local git to exclude the changed Gemfile.lock file.

Community

ionic-legacy-docs's People

Contributors

adamdbradley avatar ajoslin avatar bensperry avatar brandyscarney avatar briandennis avatar camwiegert avatar chrisgriffith avatar danbucholtz avatar danielsogl avatar drewrygh avatar fbaew avatar giocalitri avatar ihadeed avatar imhoffd avatar ionitron avatar janpio avatar jaredcbaum avatar jgw96 avatar kevinports avatar kgindervogel avatar ltm avatar manucorporat avatar matthewkremer avatar mhartington avatar mlynch avatar nphyatt avatar perrygovier avatar samuelgoodell avatar spieszko avatar tlancina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ionic-legacy-docs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.