Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork72
Plotly's graphing libraries documentation.
License
plotly/graphing-library-docs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Plotly welcomes contributions to itsopen-source graphing libraries documentation from its community of users.
This repository mainly serves:
Plotly's graphing libraries documentation index page athttps://plotly.com/graphing-libraries.
Plotly's JavaScript graphing library documentation athttps://plotly.com/javascript
- Please be aware thatonly the content of Plotly's JavaScript graphing library documentation (hosted athttps://plotly.com/javascript) is contained in this repository. You can find the content in the
_posts/plotly_jsdirectory. - For information about editingplotly.js documentationclick here.
- Please be aware thatonly the content of Plotly's JavaScript graphing library documentation (hosted athttps://plotly.com/javascript) is contained in this repository. You can find the content in the
Plotly's Python graphing library documentation athttps://plotly.com/python
- The content for Plotly's Python graphing library documentation (hosted athttps://plotly.com/python)IS NOT contained in this repository. It is contained in the
plotly.pyrepository athttps://github.com/plotly/plotly.py/tree/master/doc and is cloned into this repository at build time. - For information about editingplotly.py documentationclick here.
- The content for Plotly's Python graphing library documentation (hosted athttps://plotly.com/python)IS NOT contained in this repository. It is contained in the
Plotly's R graphing library documentation athttps://plotly.com/r
- The content for Plotly's R graphing library documentation (hosted athttps://plotly.com/r)IS NOT contained in this repository. It is contained in the
plotly.r-docsrepository athttps://github.com/plotly/plotly.r-docs/ and is cloned into this repository at build time. - For information about editing Plotly'sR documentationclick here.
- The content for Plotly's R graphing library documentation (hosted athttps://plotly.com/r)IS NOT contained in this repository. It is contained in the
To quickly make a contribution to Plotly's JavaScript graphing libraries documentation, simply submit a pull request with the change you would like to suggest.
The easiest way to do this is to follow theEdit this page on GitHub link at the top right of the page you are interested in contributing to:
Note: You don't have to worry about breaking the site when you submit a pull request!** This is because your change will not be merged to production immediately. A Plotly team member will first perform a code review on your pull request.
For more extensive changes to Ploty's JavaScript documentation, we suggest getting the Jekyll application which builds the site to run locally so that you can test your changes as you develop them.
This involves cloning the repository and installing its dependencies:Git, [Ruby]((https://www.ruby-lang.org/en/),Jekyll, and thePythonrequests package.
To do so, run the following commands in your terminal:
git clone git@github.com:plotly/graphing-library-docs.gitcd graphing-library-docsRunninggit status in your terminal should then output the following:
On branch masterYour branch is up to date with'origin/master'.nothing to commit, working tree clean- Download Ruby and check your
Rubyversion by running theruby --versioncommand in your terminal.
Note: We recommend usingversion 2.7.4, the same ruby version asgh-pages. NoteRVM is helpful for installing and managing ruby versions.
Download Jekyll and check your Jekyll version by running the
jekyll -vcommand in your terminal. We recommend using the same ruby version asgh-pages.Install bundler and dependencies from the Jekyll applicaton's
Gemfileby running the following commands in your terminal:
gem install bundlerbundle install
Note: These dependencies should be the same version thatgh-pages is using.
Serve the Jekyll application:
bundle exec jekyll serve --config _config_dev.yml.Visit the pages at:http://localhost:4000/
Note The default Jekyll configuration file only builds the JavaScript posts byexcluding folders. If you want to override this behavior, serve the application with a custom Jekyll configuration file in the root of the repository. Do this by copying_config_dev.yml, renaming it_config_personal.yml, and modifying theexclude statement.
If you name the Jekyll configuration file
_config_personal.yml, it will be caught by the.gitignorefile and not committed to version control.Run
bundle exec jekyll serve --config _config_personal.ymlto use the custom configuration fileExample configuration:
# ---# Excludes every directory except JavaScript# ---exclude:['_posts/reference_pages', _posts/ggplot2','_posts/julia','_posts/matlab','_posts/node_js','_posts/r','_posts/python','_posts/python-v3','_posts/misc','_posts/dashboards',_posts/scala', '_posts/nodejs', 'node_modules']
and you'll only load the files in_posts/plotly_js directory because that is the only directory that is not excluded.
Change it to this:
# ---# Excludes no directory# ---staticurl:http://localhost:4000/all_staticexclude:[]
and you'll load every file because no directories are excluded.
Whenever a pull request is made, a continuous integration workflow is initiated. This includes of:- running thecheck-or-enforce-order.py andfront-matter-ci.py scripts inside of a Docker container to validate YAML front-matter- Percy screenshot testing
Making sure that a pull request passes every continuous integration test is a part of the code review process.
For more information about the build process, inspect the CircleCI configuration file in this repository athttps://github.com/plotly/graphing-library-docs/blob/master/.circleci/config.yml.
This repository also contains:- Plotly's Node.js, Matlab, Scala, Julia, and Python V3 graphing libraries documentation- the reference pages for Plotly's JavaScript, Python, R, and Matlab graphing libraries.
About
Plotly's graphing libraries documentation.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.

