Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt-out from subchart DOM if not enabled #2674

Merged
merged 4 commits into from
Dec 19, 2019

Conversation

panthony
Copy link
Contributor

@panthony panthony commented Aug 9, 2019

This PR does several things:

@codecov-io
Copy link

codecov-io commented Aug 9, 2019

Codecov Report

Merging #2674 into master will increase coverage by 0.01%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2674      +/-   ##
=========================================
+ Coverage   80.29%   80.3%   +0.01%     
=========================================
  Files          59      60       +1     
  Lines        4537    4565      +28     
=========================================
+ Hits         3643    3666      +23     
- Misses        894     899       +5
Impacted Files Coverage Δ
src/core.js 89.95% <100%> (-0.16%) ⬇️
src/data.js 84.7% <100%> (+0.18%) ⬆️
src/subchart.js 87.5% <100%> (-1.39%) ⬇️
src/api.subchart.js 91.66% <91.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdf12d1...7a3d6dd. Read the comment docs.

@panthony panthony marked this pull request as ready for review August 9, 2019 11:59
@panthony
Copy link
Contributor Author

panthony commented Aug 9, 2019

@kt3k I just don't get it, I installed from scratch RVM, bundler, etc.. from the 0.7.3 tag and the documentation site served by watch:docs does not work.

I have a wonderful NameError: uninitialized constant #<Class:0x00007fdfd8214c78>::EXPR_BEGEXPR_BEGEXPR_BEGEXPR_BEGEXPR_CMDARGEXPR_DOTEXPR_ARGEXPR_BEG error located here:

%a( href="##{ id.gsub(/\./, '-') }")< #{ id.gsub(/(api|class)\./, '') }

I played around and the issue is with %a() .. maybe it misses id ? Result of a breaking change due to an unwanted update ?

I really have no clue I have 0 knowledge of the stack used to generate the doc.

@kt3k
Copy link
Member

kt3k commented Aug 10, 2019

@panthony Which ruby version do you use? You need ruby 2.4.4 for building the current document site (I think it can't be built with ruby 2.5 or above).

@panthony
Copy link
Contributor Author

panthony commented Aug 10, 2019

@kt3k I'll check that on monday, I do not have my laptop with me this week-end but I'll likely have the most recent version of ruby.

Good to know I should not have a version too recent, thanks :)

edit:

Annnnnd it was clearly stated in CONTRIBUTING.md:

Note: Currently the site doesn't build with ruby 2.5.x, so you need ruby 2.4.4 or below. ([rbenv][] is useful for switching between ruby versions.)

Maybe one day I'll learn to fully read something 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants