Skip to content

Commit e76cf76

Browse files
authored
Merge pull request #4247 from plotly/update-release-process
Add detail on resolving warning when bumping Plotly.js version
2 parents 981ace8 + 3376629 commit e76cf76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ start by doing it first if not. Then merge `master` into `doc-prod` to deploy th
128128
to features in the release.
129129
3. in a clone of the [`graphing-library-docs` repo](https://github.com/plotly/graphing-library-docs):
130130
1. bump the version of Plotly.py in `_data/pyversion.json`
131-
2. bump the version of Plotly.js with `cd _data && python get_plotschema.py <PLOTLY.JS VERSION>` fixing any errors that come up
131+
2. bump the version of Plotly.js with `cd _data && python get_plotschema.py <PLOTLY.JS VERSION>` fixing any errors that come up.
132+
- If Plotly.js contains any new traces or trace or layout attributes, you'll get a warning `“missing key in attributes: <attribute-name>`. To resolve, add the attribute to the relevant section in `/_data/orderings.json` in the position you want it to appear in the reference docs.
132133
3. rebuild the Algolia `schema` index with `ALGOLIA_API_KEY=<key> make update_ref_search`
133134
4. Rebuild the Algolia `python` index with `ALGOLIA_API_KEY=<key> make update_python_search`
134135
5. Commit and push the changes to `master` in that repo

0 commit comments

Comments
 (0)