Closed jamal919 closed 2 years ago
Nice work mate. I wish I could contribute something with you and others π
A github.io webpage like Xbeach is very useful and nice.
Cheers Huy
On Tue, 1 Mar 2022 at 21:20, Jamal Uddin Khan @.***> wrote:
[Work-In-Progress] Not meant for merging yet, but only for discussions.
For quite some time, I have felt that the documentation of SCHISM does not get updated at the same pace as the SCHISM code-base itself. The codebase is evolving very rapidly, whereas the documentation is updated infrequently during a tagged version.
Since the SCHISM code has been moved fully to github, I believe it is timely to adopt a version-tracked documentation too by taking the advantage of github-pages. This is pretty common for github hosted software packages, and not uncommon for academic models either - for example, the Xbeach online documentation https://xbeach.readthedocs.io/en/latest/.
In this spirit, this work-in-progress repo is an initial configuration for a online documentation (hosted by github on github-pages). This allows a co-evolution of both the code and documentation, and both of those stays forever on github - fully version controlled. A live initial version based on mkdocs - without much content - can be browsed here https://jamalkhan.me/schism/.
I plan to first port the current pdf documentation - over next 4 months or so.
For now, I do not want this repo to be merged with the https://github.com/schism-dev/schism, but rather start a discussion with the user and developer community regarding viability and the structure of the docs. So the questions are -
- Is keeping a online docs something interest the model users (and developers)?
- Is it too much for the developers to update the documentation while developing a feature? In other words, is it viable to do so?
- Any suggestion regarding the structure of the documentation?
My personal belief/opinion is that if the documentation gets real-time updates during the implementation of each future feature by the developer, it would be really helpful.
Opinion?
You can view, comment on, or merge this pull request online at:
https://github.com/schism-dev/schism/pull/62 Commit Summary
- 061633e https://github.com/schism-dev/schism/pull/62/commits/061633e95dd9180777024eceea2e11d43108cf73 :coffin: Removes unused files in WWMIII
- 3c980c3 https://github.com/schism-dev/schism/pull/62/commits/3c980c3187bec46b1743b9c645954d5d58197932 :wrench: Updates Makefiles and CMakeLists
- baa6a95 https://github.com/schism-dev/schism/pull/62/commits/baa6a95d2d511f0457fced2c07c306c39ac5b38c Merge branch 'schism-dev:master' into master
- 627ed12 https://github.com/schism-dev/schism/pull/62/commits/627ed120b311371dde9b6b8cda567b8c61e3a178 :sparkles: Initializes mkdocs documentation
- cbc4ec3 https://github.com/schism-dev/schism/pull/62/commits/cbc4ec3c6ce0c165f4511a10302478cf496612f3 :memo: Adds publication list
- 4db78a3 https://github.com/schism-dev/schism/pull/62/commits/4db78a3f9e4e441d5c2532323235e14fe2bf4075 :memo: Updates documentation structure
- 7e7df0c https://github.com/schism-dev/schism/pull/62/commits/7e7df0ce3cff7cc64577b6e0a2ab723b8e3b4018 :wrench: Adds PDF generation
- e7ff1d9 https://github.com/schism-dev/schism/pull/62/commits/e7ff1d93616fdfb1cab090901ed0eb87d9c46847 :construction_worker: Updates documentation builder
- e0ba614 https://github.com/schism-dev/schism/pull/62/commits/e0ba6149d26b3f4ce437143b51c68fc80b2d1384 :memo: Removes figure sagment
- 792d2a9 https://github.com/schism-dev/schism/pull/62/commits/792d2a9cf749c10009edb4afee3925075d1715f5 :wrench: Updates workflow
- afd22fe https://github.com/schism-dev/schism/pull/62/commits/afd22fe8c8ca6a3cd2bda504d679307d96bc5005 :wrench: Adds weasyprint for pdf generation
- f03240f https://github.com/schism-dev/schism/pull/62/commits/f03240fe46a54dfe82c831a3838516d0d243bb9e :wrench: Updates chromium-browser to headless mode
- d0a8c98 https://github.com/schism-dev/schism/pull/62/commits/d0a8c98cab34e3604011ed8bb1b6e1c06e3ccd47 :wrench: Updates Chromium to be installed from PPA
- a6b390b https://github.com/schism-dev/schism/pull/62/commits/a6b390be694174702b607b0012c197ddf94b42ac :wrench: Updates chromium path
- 50e9864 https://github.com/schism-dev/schism/pull/62/commits/50e9864b825d422a129eb84b723b17dbbb1594fc :wrench: Removes apt-get statements
- f630117 https://github.com/schism-dev/schism/pull/62/commits/f630117cbd5408e32cdc51904d898ff537519998 :wrench: Removes headless chromium option
- 3066f9a https://github.com/schism-dev/schism/pull/62/commits/3066f9a56b0c203afa181618b3d7e2267c3cac85 :wrench: Adds chrome browser-action
- 6813fad https://github.com/schism-dev/schism/pull/62/commits/6813fadfc61473ee6571e7ef8702660f38422094 :wrench: Updates chromium-browser to chrome
- e930972 https://github.com/schism-dev/schism/pull/62/commits/e9309726496df76eb490810c3b2064d8685e26a8 :wrench: Disable PDF generation in github CI
- d914961 https://github.com/schism-dev/schism/pull/62/commits/d9149618866c87ead17ecfd09452ac27d1b5e805 :memo: Adds schism model diagram
- c77d6b5 https://github.com/schism-dev/schism/pull/62/commits/c77d6b537379ed479449dff7fcf9453b3a4018a0 :memo: Adds SCHISM overview
- 7f5665f https://github.com/schism-dev/schism/pull/62/commits/7f5665f5882695abec5e4d000ce7798b3a9a0c80 :memo: Fix spacing between entries
- e0cba19 https://github.com/schism-dev/schism/pull/62/commits/e0cba190485eec1b40d1113b0ffaf37181b9ede6 :memo: Updates formatting
- d750701 https://github.com/schism-dev/schism/pull/62/commits/d7507015fe804a0f31f90e8a69b7894628283af5 :memo: Adds momentum equation
File Changes
(34 files https://github.com/schism-dev/schism/pull/62/files)
- A .github/workflows/deploy_documentation.yml https://github.com/schism-dev/schism/pull/62/files#diff-c47743f9082dbbc474afec09b9a30fdcb0819c9fc12366b5d5eaca257bdc96aa (17)
- M .gitignore https://github.com/schism-dev/schism/pull/62/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 (1)
- A docs/assets/logo.png https://github.com/schism-dev/schism/pull/62/files#diff-803d4ef9d78569998bc27561a9a06a2c524b49809a963b691cec3f1825a900bf (0)
- A docs/assets/schism_flow_diagram.jpg https://github.com/schism-dev/schism/pull/62/files#diff-8ae5505f8f8700dc7e321ad655df30396c9f80a9142076a65a7e6ecda040025e (0)
- A docs/case-study.md https://github.com/schism-dev/schism/pull/62/files#diff-8e05dbbd92866927d98e3e10892e1ab833017ac18bcc266432b8d07a79773d5a (0)
- A docs/changelog.md https://github.com/schism-dev/schism/pull/62/files#diff-77f023b99d3d58008351d3e82fc06e6d06ba1bc2da9e41be6329b7fa4f419f05 (4)
- A docs/code-contribution.md https://github.com/schism-dev/schism/pull/62/files#diff-38fd2d828816b9520025478a51e21bfd94297b9c5190000079d8d3cc39a91ace (0)
- A docs/getting-started.md https://github.com/schism-dev/schism/pull/62/files#diff-31bcba2ccafa41d46fbbd6d1219f7f1e3b1fb3cad9faa8e4dc521bbb579dd7b3 (0)
- A docs/howto/compilation.md https://github.com/schism-dev/schism/pull/62/files#diff-9f4def39fb72caa13e92ff664f95bec52635dcea6526f82a5eaf2c7e2adaeca0 (0)
- A docs/howto/grid-generation.md https://github.com/schism-dev/schism/pull/62/files#diff-e8712bc90210e41d4b96b727f77ace390efa7963a8546a21cf9998d30174c06c (0)
- A docs/howto/post-processing.md https://github.com/schism-dev/schism/pull/62/files#diff-39e179278836c50ed0a0c88059bc6f1bd4710d282bb4b5b3c3ceffea3723f98e (0)
- A docs/howto/pre-processing.md https://github.com/schism-dev/schism/pull/62/files#diff-944435eff98ad55cc6d873bfa477b5fa5a2133f60daf44679b444e9198fb3457 (0)
- A docs/howto/visualization.md https://github.com/schism-dev/schism/pull/62/files#diff-818fd44ec9a50fef9319d27100b0bd403c827e525ad15fddf0f41cd1cebe360d (0)
- A docs/index.md https://github.com/schism-dev/schism/pull/62/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 (45)
- A docs/javascripts/mathjax.js https://github.com/schism-dev/schism/pull/62/files#diff-efd31e43f0df2c5eef093147ec19fdb5e01e8f133c2be8dad9d9d9e1ecd2ccc3 (17)
- A docs/modules/age.md https://github.com/schism-dev/schism/pull/62/files#diff-cf39fbc5fad903d4e39cf78945927fe53ddc48ed584a304dd4702da6207dd9a9 (0)
- A docs/modules/analysis-mode.md https://github.com/schism-dev/schism/pull/62/files#diff-d95abc158d553f4b9c37eb8f300ff8216e6be10afd6c3aa3007595767350d496 (0)
- A docs/modules/cosine.md https://github.com/schism-dev/schism/pull/62/files#diff-4495c2cb37949136d4477569663e68e839f7cda245f0c1a8782ad749c933fd69 (0)
- A docs/modules/dvd.md https://github.com/schism-dev/schism/pull/62/files#diff-f57616ed92927c0b7266595aeee950a9623c310c1dd97169b1f1285fe0315b57 (0)
- A docs/modules/generic-tracer.md https://github.com/schism-dev/schism/pull/62/files#diff-920b731ca5a1664bc37d416fc35b4256f5624eafaee494488421633efe65c6db (0)
- A docs/modules/hydraulics.md https://github.com/schism-dev/schism/pull/62/files#diff-c79a1fcd8adc9e9b73b2251e21d0ac2edbc243d1503050e08cb4481d8e25d09d (0)
- A docs/modules/icm.md https://github.com/schism-dev/schism/pull/62/files#diff-e59a64c33f794818ba5dfe0c654a8da71e92abdaa7d1d51c05d8a532222cb9c9 (0)
- A docs/modules/marsh-migration.md https://github.com/schism-dev/schism/pull/62/files#diff-d1a35f460c77d4efb4a17ee8cb3030351d149d826e42808c45879a8f7ef6a318 (0)
- A docs/modules/particle-tracking.md https://github.com/schism-dev/schism/pull/62/files#diff-f5479e53df31a86b7f877c0d0f25d54de194e43d6a42b7fff77b380e9ca24389 (0)
- A docs/modules/sed2d.md https://github.com/schism-dev/schism/pull/62/files#diff-bb7dd706e83a3ca04b7c545947195a3d516cbf6c0bcc8ac4e00447f4615e3462 (0)
- A docs/modules/sed3d.md https://github.com/schism-dev/schism/pull/62/files#diff-10bdcd76a9112d5bdcafec3b988113195104d40e509b78e9f89eb6ccc26e6253 (0)
- A docs/modules/wwm.md https://github.com/schism-dev/schism/pull/62/files#diff-61481696dc498f9374afb000a954793e8a52be288ba16841ec11281a9f1d0c29 (0)
- A docs/publications.md https://github.com/schism-dev/schism/pull/62/files#diff-069a5c1bf0e9890db784d49d99a7419ad3c39859efd0d4d305e15ee9f8a6e1fe (177)
- A docs/schism/input-output.md https://github.com/schism-dev/schism/pull/62/files#diff-4a21352bcbe8dc829bfa28cccd03e116e3ad15bff46ef6001d7dd509f4d5cc85 (0)
- A docs/schism/numerical-formulation.md https://github.com/schism-dev/schism/pull/62/files#diff-d20dff60d254e0e828a0158feb7b6f37b684391690876d6f2ef4d8eebd5900d8 (0)
- A docs/schism/overview.md https://github.com/schism-dev/schism/pull/62/files#diff-2f53600cbf49b88b812648901235163a7651a683aa54e8b9fdc01ee269aa943a (73)
- A docs/schism/physical-formulation.md https://github.com/schism-dev/schism/pull/62/files#diff-fd06c0c152a7cb39859979d154bd3a9759f8660f01fb95e84de9abad113f94c3 (19)
- A docs/stylesheets/extra.css https://github.com/schism-dev/schism/pull/62/files#diff-e367d91bc273f41e7df5de1babaed6b2878046bdd06fbc4a385674f695bb7a25 (11)
- A mkdocs.yml https://github.com/schism-dev/schism/pull/62/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2 (73)
Patch Links:
- https://github.com/schism-dev/schism/pull/62.patch
- https://github.com/schism-dev/schism/pull/62.diff
β Reply to this email directly, view it on GitHub https://github.com/schism-dev/schism/pull/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZU26KCPQLCYXDGOR3G6ALU5XVNLANCNFSM5PTTQLIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks @huyquangtranaus, I appreciate your support. Please do not hesitate to add stuff, or suggest. It is written in markdown. The full file tree is here - https://github.com/jamal919/schism/tree/docs/docs
Hi Jamal:
First of all, thank you for spearheading this important effort. Documentation can be never enough or too frequent. Your proposed structure looks great to me.
Iβm not sure about the effort level entailed. We want to make it as easy as possible if we are to make this sustainable in the long term. Iβm interested in learning how to use the system and in particular, how easy is it to include graphics. I know Latex well and also html. Maybe the best way is for us to observe you updating the system as we learn once you merge it to main.
Thanks.
-Joseph
Y. Joseph Zhang Web: schism.wiki Office: 804 684 7466
From: Jamal Uddin Khan @.> Sent: Tuesday, March 1, 2022 5:20 AM To: schism-dev/schism @.> Cc: Subscribed @.***> Subject: [schism-dev/schism] π [WIP] Online SCHISM documentation (PR #62)
[EXTERNAL to VIMS received message]
[Work-In-Progress] Not meant for merging yet, but only for discussions.
For quite some time, I have felt that the documentation of SCHISM does not get updated at the same pace as the SCHISM code-base itself. The codebase is evolving very rapidly, whereas the documentation is updated infrequently during a tagged version.
Since the SCHISM code has been moved fully to github, I believe it is timely to adopt a version-tracked documentation too by taking the advantage of github-pages. This is pretty common for github hosted software packages, and not uncommon for academic models either - for example, the Xbeach online documentationhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fxbeach.readthedocs.io%2Fen%2Flatest%2F&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098505665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aBFuOsiXDVI9Y9LsPipqmk%2BDAQBZpkUQxn1utXZNlKo%3D&reserved=0.
In this spirit, this work-in-progress repo is an initial configuration for a online documentation (hosted by github on github-pages). This allows a co-evolution of both the code and documentation, and both of those stays forever on github - fully version controlled. A live initial version based on mkdocs - without much content - can be browsed herehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjamalkhan.me%2Fschism%2F&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098505665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=MSVH65RT6A7wweXV4FWJy%2F6bbyQUyC306UBMR9leUt4%3D&reserved=0.
I plan to first port the current pdf documentation - over next 4 months or so.
For now, I do not want this repo to be merged with the https://github.com/schism-dev/schismhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fschism-dev%2Fschism&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098505665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fp4GBt9PGUQW2F4fzZS2uru3d04hXQr0XRScioJ8ZU4%3D&reserved=0, but rather start a discussion with the user and developer community regarding viability and the structure of the docs. So the questions are -
My personal belief/opinion is that if the documentation gets real-time updates during the implementation of each future feature by the developer, it would be really helpful.
Opinion?
You can view, comment on, or merge this pull request online at:
https://github.com/schism-dev/schism/pull/62https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fschism-dev%2Fschism%2Fpull%2F62&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098505665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZUB0G2nNGweULqBzJy8koM9oiFrcp3MjaGdGRXnHJew%3D&reserved=0
Commit Summary
File Changes
Patch Links:
β Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fschism-dev%2Fschism%2Fpull%2F62&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098818097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NMcEMmfkKqG8FiL3Be2zjc8AJXGEFhIzONmsBkFIz3E%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFBKNZ4WOP4WWHEDWP73MSTU5XVNLANCNFSM5PTTQLIA&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098818097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Yutoj9ZgQ3NO0Pkj0EmChzs%2F6AA%2BRATeXVeTrGyFGII%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098818097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IJxVbFAgVpzqbNQFKNFU%2Fx%2B8inI64keUYUVxDPY2PLk%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cyjzhang%40vims.edu%7C07d78d333bea464dd88308d9fb6d0e53%7C8cbcddd9588d4e3b9c1e2367dbdf1740%7C0%7C1%7C637817268098818097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gQLbHCeNijaehtLqkHT0%2BG5Blfrh2qnRS8PxVY%2BYdVE%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
Thanks Joseph,
Iβm not sure about the effort level entailed. We want to make it as easy as possible if we are to make this sustainable in the long term. Iβm interested in learning how to use the system and in particular, how easy is it to include graphics.
Good question.
Effort: The effort required is very minimum. The individual files are written in github markdown - which most of us already know.
Structure: The structure of the documentation is defined in mkdocs.yml file (as a toc). This we can do once, and go long way before changing anything. At the same time it is very flexible. By simply changing the mkdocs.yml the whole structure can be changed quickly.
Image: Images are added like in markdown ![](path/to/image)
or html <figure>/<img>
tag. I have in my agenda to add extra css for it to add auto numbering of the captions. Currently I have set up the structure to have all the images in the assets
folder.
Math: I have configured mathjx, which allows equations to be written as latex \begin{equation}...\end{equation}
or $ ... $
tags.
The final site gets generated from these set of individual markdown files by mkdocs
. So with mkdocs
installed (using python pip) one can look at the generated docs locally. On the other hand, I have setup a github action to generate the docs and publish the site automatically for each push to the repository. Additionally, a PDF for the whole doc can also be auto-generated and linked.
Maybe the best way is for us to observe you updating the system as we learn once you merge it to main.
That makes sense. I will keep the progress updated here.
Sounds like a very powerful. I look forward to seeing it in action; thx, Jamal!
-Joseph
Y. Joseph Zhang Web: schism.wiki Office: 804 684 7466
From: Jamal Uddin Khan @.> Sent: Wednesday, March 2, 2022 8:48 AM To: schism-dev/schism @.> Cc: Y. Joseph Zhang @.>; Comment @.> Subject: Re: [schism-dev/schism] π [WIP] Online SCHISM documentation (PR #62)
[EXTERNAL to VIMS received message]
Thanks Joseph,
Iβm not sure about the effort level entailed. We want to make it as easy as possible if we are to make this sustainable in the long term. Iβm interested in learning how to use the system and in particular, how easy is it to include graphics.
Good question.
Effort: The effort required is very minimum. The individual files are written in github markdown - which most of us already know.
Structure: The structure of the documentation is defined in mkdocs.yml file (as a toc). This we can do once, and go long way before changing anything. At the same time it is very flexible. By simply changing the mkdocs.yml the whole structure can be changed quickly.
Image: Images are added like in markdown [X] <path/to/image> or html / tag. I have in my agenda to add extra css for it to add auto numbering of the captions. Currently I have set up the structure to have all the images in the assets folder.
Math: I have configured mathjx, which allows equations to be written as latex \begin{equation}...\end{equation} or $ ... $ tags.
The final site gets generated from these set of individual markdown files by mkdocs. So with mkdocs installed (using python pip) one can look at the generated docs locally. On the other hand, I have setup a github action to generate the docs and publish the site automatically for each push to the repository. Additionally, a PDF for the whole doc can also be auto-generated and linked.
Maybe the best way is for us to observe you updating the system as we learn once you merge it to main.
That makes sense. I will keep the progress updated here.
β Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
@jamal919 Great work! I think this is the way to go for documentation. I'm very interested in observing your progress and contributing to it.
@josephzhang8 I can confirm the effort needed for maintaining this kind of webpage is not too much. But the initial effort (e.g., converting the manual to markdown format) can take some time. I'm grateful for having colleagues like Jamal, who takes time to start the work.
@josephzhang8 and @jamal919 We did have some requests for this kind of webpage from the participants of past workshops (e.g., the compound flooding tutorial we gave through NOAA's venue). As a response to those requests, we set up a webpage for case studies, utility scripts, and other miscellaneous topics here: schism-tut. It probably fits into the "case study" section of Jamal's more expansive doc. I guess we can merge our existing pages into Jamal's at some point.
Many thanks, Jamal!
Hi Jamal:
The merge button is dimmed so I think u need to submit a final PR. Thx
Hi Joseph,
Yes, I have put the PR in WIP (draft mode), as most of the sections are currently empty and I am working on the porting. I will activate it for a PR once the first usable version is ready. I will then request you as the reviewer and you can then approve and merge it to the main branch. We will also have to activate the github-page option in the repo at that time. Thanks.
Hi @feiye-vims,
Thanks for sharing the schism-tut - quite a nice tutorial page. The content of the schism-tut is a nice fit to go into case-study, and definitely should be linked to the docs. I have already ported over the verification test-page to the docs. I hope it does not conflict with the license of the content.
Hi @feiye-vims,
Thanks for sharing the schism-tut - quite a nice tutorial page. The content of the schism-tut is a nice fit to go into case-study, and definitely should be linked to the docs. I have already ported over the verification test-page to the docs. I hope it does not conflict with the license of the content.
Feel free to port anything over. I'll check the license and make sure there is no conflict with it. We can talk later on when is the good time to merge the entire schism-tut to the full doc.
Best! Fei
For quite some time, I have felt that the documentation of SCHISM does not get updated at the same pace as the SCHISM code-base itself. The codebase is evolving very rapidly, whereas the documentation is updated infrequently during a tagged version.
Since the SCHISM code has been moved fully to github, I believe it is timely to adopt a version-tracked documentation too by taking the advantage of github-pages. This is pretty common for github hosted software packages, and not uncommon for academic models either - for example, the Xbeach online documentation.
In this spirit, this work-in-progress repo is an initial configuration for a online documentation (hosted by github on github-pages). This allows a co-evolution of both the code and documentation, and both of those stays forever on github - fully version controlled. A live initial version based on
mkdocs
- which is continuously updated - can be browsed here.I plan to first port the current pdf documentation - over next 4 months or so.
For now, I do not want this repo to be merged with the https://github.com/schism-dev/schism, but rather start a discussion with the user and developer community regarding viability and the structure of the docs. So the questions are -
My personal belief/opinion is that if the documentation gets real-time updates during the implementation of each future feature by the developer, it would be really helpful.
Opinion? (Browse current version here)
Progress checklist -