Closed hannorein closed 1 year ago
I look forward to seeing what this looks like on readthedocs. One thing about the sphinx version that I did like was that it was easy to add links to the index by simply adding to the body of the index file - and sphinx incorporated them in the left panel automatically. It isn't completely clear to me looking at the files how that would work here ... I have zero familiarity with javascript. But I assume it will be straightforward to figure it out once there is a template to follow.
On Tue, Feb 14, 2023 at 5:12 PM Hanno Rein @.***> wrote:
@matthewholman https://github.com/matthewholman and @aryaakmal https://github.com/aryaakmal, have a look and let me know your thoughts on #68 https://github.com/matthewholman/assist/issues/68. Here's a demo: https://assist-demo.readthedocs.io/en/latest/
- The main difference is that the source of the documentation is just markdown which I find easier to read and work with.
- The documentation now includes all the c and python examples, including the images from the notebooks. Everything is automatically generated. If we want to include a new example, we only need to edit the mkdocs.yml https://github.com/hannorein/assist/blob/mkdocs/mkdocs.yml file.
- The installation page for c and python is the same, you can select either c or python in the little tabs on the page to see the different syntax (I think that neat).
- I'd like to add one or two extra pages which describe the various settings (how to forces turned on and off, etc)
You can view, comment on, or merge this pull request online at:
https://github.com/matthewholman/assist/pull/69 Commit Summary
- 84759bf https://github.com/matthewholman/assist/pull/69/commits/84759bf4f3c17a9c6b3546298f9e7c782af4e2c2 First try
- a08bb87 https://github.com/matthewholman/assist/pull/69/commits/a08bb876c0a7a856646cea1a3f0d3147695b4440 index
- 760238d https://github.com/matthewholman/assist/pull/69/commits/760238d7b5323051ae8ef71d66ad73dd3161d991 More docs
- 258e84a https://github.com/matthewholman/assist/pull/69/commits/258e84a1c173a7d3b84d3517304e9bac9911dee1 index
- f25ef4b https://github.com/matthewholman/assist/pull/69/commits/f25ef4bb56cbd20b32b5d746e5edb8f7091ea0c0 index
- 4833b7b https://github.com/matthewholman/assist/pull/69/commits/4833b7b4e2c937fa2a67792e556e3fd05cb30575 index
- 989655f https://github.com/matthewholman/assist/pull/69/commits/989655f5332c5277ebf41d650b8a3045634deb00 titles for c examples
- b915c1b https://github.com/matthewholman/assist/pull/69/commits/b915c1b96e2ab5d2ce8ef0d94e5aa21956dcaeeb not tabs
- 15bb36a https://github.com/matthewholman/assist/pull/69/commits/15bb36aa4c91745228c05b81e6e4b03415e1a943 no home
- d980db2 https://github.com/matthewholman/assist/pull/69/commits/d980db20b46a6d88403470bb0d36e179ca1bf2d4 source removed
- 3a8cb2d https://github.com/matthewholman/assist/pull/69/commits/3a8cb2dd913632111f21f7edcfcd7d71df8332b6 index
- d50e337 https://github.com/matthewholman/assist/pull/69/commits/d50e337a950bafe606c207752d1ecdafda83bd63 installation extra file
- 77f4c44 https://github.com/matthewholman/assist/pull/69/commits/77f4c44358647d5de311f48184ba61f9723e190f removed duplicate installation
- 53b01b0 https://github.com/matthewholman/assist/pull/69/commits/53b01b0eae1fe7fdd4b9cb65746c9f32e41ddbf3 index
- d6efdde https://github.com/matthewholman/assist/pull/69/commits/d6efdde4c947321edfaede2e52cc28e2fc324f45 space
File Changes
(24 files https://github.com/matthewholman/assist/pull/69/files)
- M .gitignore https://github.com/matthewholman/assist/pull/69/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 (1)
- A .readthedocs.yaml https://github.com/matthewholman/assist/pull/69/files#diff-03efc769b870804394632e45d7885272b44c16939517fb31c9d7c614d2ffae57 (15)
- D docs/Makefile https://github.com/matthewholman/assist/pull/69/files#diff-cdec797dddf8fc387304501d6bd4f318e1e9067c6fae012dfa8b69fd85fd3248 (20)
- A docs/c_examples/generate_c_examples.py https://github.com/matthewholman/assist/pull/69/files#diff-5cccc849da9dc343570c9c7864100f2e4c848624361e2646f73c0b7db9dd17b4 (42)
- A docs/img/favicon.ico https://github.com/matthewholman/assist/pull/69/files#diff-d07de50b201c4931da478592556f657eeb3213167485f08d6e6db3044a58139c (0)
- A docs/img/rebound.png https://github.com/matthewholman/assist/pull/69/files#diff-65ab265bc424a97dd7712bcbf6b7118864c07a7475d801bbf45f44f93a90491f (0)
- A docs/index.md https://github.com/matthewholman/assist/pull/69/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 (19)
- A docs/installation.md https://github.com/matthewholman/assist/pull/69/files#diff-8b042e3f94ca5c59a7cd990b950aec0073ea84fe811e7b22be51158d7b180d56 (73)
- A docs/javascripts/config.js https://github.com/matthewholman/assist/pull/69/files#diff-dfe223a73846659470cef90997c27987e012a7b6fb74aec11852a590a942a18a (16)
- A docs/javascripts/mermaid-init.js https://github.com/matthewholman/assist/pull/69/files#diff-fdb0eed15429a33db02a44f12804b6c2753b9b7824c75820a212f21672b30a81 (1)
- A docs/javascripts/mermaid.min.js https://github.com/matthewholman/assist/pull/69/files#diff-a57781379f1a5338234f86c6a897942ef68f7cad90f41c97c43e16555b105cf6 (32)
- A docs/jupyter_examples https://github.com/matthewholman/assist/pull/69/files#diff-3e67c7a75a5fe8a8c5375317480cf1ad54bd3bbf78109a80de0b693f704c720b (1)
- D docs/make.bat https://github.com/matthewholman/assist/pull/69/files#diff-eced23cf23b339d5a7dcd2246cb8fb515b1fa640975b585950c75ae19ba55feb (35)
- A docs/requirements.txt https://github.com/matthewholman/assist/pull/69/files#diff-2c9c11d26b09b8afde329980309d967121543a456e4592c76886a20b5cf56c90 (4)
- D docs/source/c_quickstart.rst https://github.com/matthewholman/assist/pull/69/files#diff-c642f0c22487850a3f0c72468422f40061034139b1ead39f7d0c0fc6e1d9b66d (51)
- D docs/source/conf.py https://github.com/matthewholman/assist/pull/69/files#diff-008dcb3426febd767787b1521f1fe33086313b927ea37eaab86df5fa88a51698 (28)
- D docs/source/index.rst https://github.com/matthewholman/assist/pull/69/files#diff-4eec6cec5f6fab1548b85433ea8ca81315ae165db4b7f84019f287df9015699f (45)
- D docs/source/python_quickstart.rst https://github.com/matthewholman/assist/pull/69/files#diff-b5f7c5782f857b994171b2acdfa61e4633c6b67c3eb7c57786590f4b58def106 (124)
- M examples/asteroid/problem.c https://github.com/matthewholman/assist/pull/69/files#diff-0daee26d2c0b83eec82e63e380d38396d6e1b02c1a33063d49dde2060c287d3a (2)
- M examples/ephemeris/problem.c https://github.com/matthewholman/assist/pull/69/files#diff-d57ac44b49a82ff6bc83e00e960be72a7764a80804d9346f154a303481c81bbf (2)
- M examples/interpolation/problem.c https://github.com/matthewholman/assist/pull/69/files#diff-a6bdc08c7456348d00f1d85fb203adabe50df87fd9192df92b64801e91e43fad (2)
- R jupyter_examples/GettingStarted.ipynb https://github.com/matthewholman/assist/pull/69/files#diff-4bac655de4689fb015e73a2c5441886ea5ed0c7a2e0885421d110238368f89fc (0)
- R jupyter_examples/VariationalEquations.ipynb https://github.com/matthewholman/assist/pull/69/files#diff-27c053c52b3a18cb8d88ec3715622a8a12453972a0b502dd3736cd7b5688a589 (0)
- A mkdocs.yml https://github.com/matthewholman/assist/pull/69/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2 (54)
Patch Links:
- https://github.com/matthewholman/assist/pull/69.patch
- https://github.com/matthewholman/assist/pull/69.diff
— Reply to this email directly, view it on GitHub https://github.com/matthewholman/assist/pull/69, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJBQ42HSEJKJ4UKL2DYQLWXP7LXANCNFSM6AAAAAAU4DM54Y . You are receiving this because you were mentioned.Message ID: @.***>
I don't think I understand. There is no javascript involved. This is probably not what you're asking but to add an item to the table of contents you simple add a file to the docs/
directory and add one line with the new file's name to mkdocs.yml
.
I'll just wait and see - I am sure it will be ok. But I do not see the mkdocs.yml file. I do see some new directories under your docs/ directory, including a javascripts/ directory containing a number of .js files ...
Ok, I see the mkdocs.yml file, which references the javascript.
On Tue, Feb 14, 2023 at 5:37 PM Hanno Rein @.***> wrote:
I don't think I understand. There is no javascript involved. This is probably not what you're asking but to add an item to the table of contents you simple add a file to the docs/ directory and add one line with the new file's name to mkdocs.yml.
— Reply to this email directly, view it on GitHub https://github.com/matthewholman/assist/pull/69#issuecomment-1430479504, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJBQ6VJS5SVOTBMZDENB3WXQCKPANCNFSM6AAAAAAU4DM54Y . You are receiving this because you were mentioned.Message ID: @.***>
The yml file is linked in the first comment on this PR (see above). I'm not sure why you're not seeing the file. The javascript is only for rendering LaTeX equations - but it's just for rendering - no need to ever touch the javascript part
Yup, got it.
On Tue, Feb 14, 2023 at 5:51 PM Hanno Rein @.***> wrote:
The yml file is linked in the first comment on this PR (see above). I'm not sure why you're not seeing the file. The javascript is only for rendering LaTeX equations - but it's just for rendering - no need to ever touch the javascript part
— Reply to this email directly, view it on GitHub https://github.com/matthewholman/assist/pull/69#issuecomment-1430496883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJBQ34IP2R7GEAAL7WVDDWXQEARANCNFSM6AAAAAAU4DM54Y . You are receiving this because you were mentioned.Message ID: @.***>
@hannorein, @aryaakmal, the documentation is looking really good!
@matthewholman and @aryaakmal, have a look and let me know your thoughts on #68. Here's a demo: https://assist-demo.readthedocs.io/en/latest/