Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Plotly's graphing libraries documentation.

License

NotificationsYou must be signed in to change notification settings

plotly/graphing-library-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintained by Plotly

Repo Overview

Plotly welcomes contributions to itsopen-source graphing libraries documentation from its community of users.

This repository mainly serves:

Contribute Quickly to Plotly's JavaScript Graphing Library Documentation

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:

Screen Shot 2020-01-07 at 12 45 39 PM

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.

How To Get The Application Working Locally

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.

  1. Usegit toclone the publicplotly/graphing-library-docs repository.

To do so, run the following commands in your terminal:

git clone git@github.com:plotly/graphing-library-docs.gitcd graphing-library-docs

Runninggit 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
  1. Download Ruby and check yourRuby version by running theruby --version command 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.

  1. Download Jekyll and check your Jekyll version by running thejekyll -v command in your terminal. We recommend using the same ruby version asgh-pages.

  2. Install bundler and dependencies from the Jekyll applicaton'sGemfile by running the following commands in your terminal:

gem install bundlerbundle install

Note: These dependencies should be the same version thatgh-pages is using.

  1. Serve the Jekyll application:bundle exec jekyll serve --config _config_dev.yml.

  2. 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.gitignore file and not committed to version control.

  • Runbundle exec jekyll serve --config _config_personal.yml to use the custom configuration file

  • Example 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.

Continuous Integration

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.

Other Documentation

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

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp