Git Product home page Git Product logo

jmespath.site's Introduction

JMESPath Site

This is the repo for the website: http://jmespath.org

Join us on our Gitter channel.

Overview

The http://jmespath.org/ site is a static website that uses Sphinx, a python documentation system, under the hood. If you are familiar with sphinx, then you know how to build this static site.

Working on the JMESPath Site

Working on the jmespath site is just like any other python project that uses sphinx for documentation. If you are not familiar with the process, the steps below outline what's needed to work on the JMESPath site.

Initial Setup

First create a virtual environment:

$ virtualenv venv
$ . venv/bin/activate

If you do not have the "virtualenv" exectuable installed, you can use pip to install it:

$ pip install virtualenv
$ virtualenv venv
$ . venv/bin/activate

Next, install the python package requirements:

$ pip install -r requirements.txt

You're now all set to start working on the JMESPath site. Note that if you want to exist the virtualenv environment once you're done working on the JMESPath site, you can just run "deactivate", which will deactivate your virtual environment.

Making Changes to the Site

Once you have a virtual environment set up, you can start working on the JMESPath site. All the content is under the docs/ folder. All of the content is written using reStructuredText. If you are not familiar with the syntax, the sphinx site has an excellent reStructuredText primer.

Once you've made changes you can build the docs by running make html. Make sure that you've activated your virtual environment (this was done in the previous section when you ran . venv/bin/activate. Once the docs have finished building the html files will be in docs/_build/html/. Pro Tip: python has a built in web server you can use the easily view the rendered html:

$ make html
$ cd docs/_build/html
$ python -m SimpleHTTPServer

You can then view the docs at http://localhost:8000/

License

All source code in this repo is licensed under Apache 2 (see LICENSE.txt).

All documentation, including the JMESPath specification, is Creative Commons licensed (CC BY 4.0). See LICENSE-docs.txt.

jmespath.site's People

Contributors

dreftymac avatar iconara avatar jamesls avatar liancheng avatar mtdowling avatar richardbronosky avatar trevorrowe avatar

Watchers

 avatar

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.