Skip to content

Commit 4ded222

Browse files
authored
Merge pull request #5 from hydrosquall/cameron.yick/2024-vega-lite-update
feat: update instructions and dependencies for Feb 2024 Release
2 parents 38c0592 + de82645 commit 4ded222

File tree

3 files changed

+2153
-401
lines changed

3 files changed

+2153
-401
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ A Python script to generate offline documentation for [vega-lite](https://github
66

77
- In-page table of contents for all pages, including images and examples for each Vega-Lite spec property.
88
- Mobile friendly layout (sidebars have been removed)
9-
- Quick search of all pages on the public docs page, including examples. (Note that examples that load remote data require an internet connection to load normally.)
9+
- Quick search of all pages on the public docs page, including examples. (Note examples that load remote data require an internet connection to load normally.)
1010

1111
## Custom Usage
1212

13-
This step is only necessary if you intend to hack on the published docset locally. Otherwise, it can be installed from the Dash app or the [Dash contributions repository](https://github.com/Kapeli/Dash-User-Contributions).
13+
This step is only necessary if you intend to modify the published docset locally. Otherwise, it can be installed from the Dash app or the [Dash contributions repository](https://github.com/Kapeli/Dash-User-Contributions).
1414

15-
1. Clone `vega-lite` as a sibling folder of this repository using the changes from [this PR](https://github.com/vega/vega-lite/pull/7642).
15+
1. Clone `vega-lite` as a sibling directory of this repository using changes from [this PR](https://github.com/vega/vega-lite/pull/7642).
1616
2. In that directory, run `yarn install && yarn docset` to generate the site
17-
a. You may need to install `rbenv` and `Jekyll` to build the documentation site.
17+
- You may need to install `rbenv`, `Jekyll`, and a recent version of Ruby to build the documentation site.
1818
3. In your python virtual environment, add python dependencies: `pip install -r requirements.txt`
19-
a. Using Jupyter is optional, but recommended for ease of debugging the notebook output.
19+
- Using Jupyter is optional, but recommended for ease of debugging notebook output.
2020
4. Run `jupyter notebook`, and double-click `generate-vega-lite-docset.ipynb`. Run all cells.
21-
5. Your generated docset will be in `vega-lite.docset`
21+
5. Your generated docset will be this directory `vega-lite.docset` . Use "File > Open Local Docset" to test the file before submitting it.
2222

2323
See [notebook](./generate-vega-lite-docset.ipynb) for detailed instructions. The `DEBUG` flag can be toggled to adjust the amount of logging.
2424

0 commit comments

Comments
 (0)