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

split up underactuated.html into chapter html files #280

Closed
9 of 10 tasks
RussTedrake opened this issue Feb 5, 2020 · 1 comment
Closed
9 of 10 tasks

split up underactuated.html into chapter html files #280

RussTedrake opened this issue Feb 5, 2020 · 1 comment
Assignees

Comments

@RussTedrake
Copy link
Owner

RussTedrake commented Feb 5, 2020

I did not do this originally, because there are dependencies between the chapters (e.g. chapter counters, TOC, citation counter, drake examples). But i'm now dealing with more and more corner cases to support this non-standard workflow. (MathJax3 does not appear to support partial typesetting; youtube videos with display:none are still paying the start-up cost, ...)

I think it's finally time to make the switch. Proposed solution:

  • create a chapters.js that defines chapters = {'intro', 'pend', 'acrobot', ...}. Somewhere I need the part logic, as well. Each individual chapter can load chapters.js, and figure out how to set the chapter counter by finding it's name in the list.
  • zap the auto-generated list of drake examples in the appendix, and just point to the new examples/ directory in binder/colab. Should be able to use <jupyter>examples/</jupyter>
  • refactor (and simplify) the revealChapters code into a load method that each chapter runs individually.
  • for the TOC, either generate it client-side by ajax loading (yuck), or write a (python?) script to generate it and commit it manually. (could write a bazel test to check it's correctness).
  • restore bibliography
  • restore parts and appendix
  • properly deprecate links to underactuated.html?chapter=foo
  • fix mathjax newcommands
  • fix drake chapter dynamic content
  • restore offline mathjax workflow
@RussTedrake RussTedrake self-assigned this Feb 5, 2020
RussTedrake added a commit that referenced this issue Feb 7, 2020
almost everything is working again.  tracking progress in #280
RussTedrake added a commit that referenced this issue Feb 7, 2020
almost everything is working again.  tracking progress in #280
RussTedrake added a commit that referenced this issue Feb 8, 2020
almost everything is working again.  tracking progress in #280
RussTedrake added a commit that referenced this issue Feb 8, 2020
almost everything is working again.  tracking progress in #280
@RussTedrake
Copy link
Owner Author

RussTedrake commented Feb 8, 2020

moving last ticket item to its own issue.

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

No branches or pull requests

1 participant