oceanhackweek / oceanhackweek.github.io

GitHub repo for the OceanHackweek website
https://oceanhackweek.org/
12 stars 38 forks source link

Reorganize Resources, top menu, and ohw23 & ohw22 menus #261

Closed emiliom closed 1 year ago

emiliom commented 1 year ago

Substantial reorganization of pages and menus.

A bunch of event-specific content will need to be updated. Let's at least add warnings (admonitions) where they're found, while we do the updates.

@abkfenris :

This PR is definitely not intended to be merged as is. Let's use it to discuss the reorganization and suggest changes large or small.

netlify[bot] commented 1 year ago

Deploy Preview for oceanhackweek-preview ready!

Name Link
Latest commit e8cb1543f4f2fee218f0f954961b37bb22adf9b8
Latest deploy log https://app.netlify.com/sites/oceanhackweek-preview/deploys/64c29e55e05e710008d824f9
Deploy Preview https://deploy-preview-261--oceanhackweek-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

emiliom commented 1 year ago

Once we've merged this PR, we can tackle PR #260

abkfenris commented 1 year ago

For the OHW22 nav, I think that Sphinx only wants to render toctrees that are part of the global toctree hiearchy, so adding the OHW22 index explicitly to another tree should do it.

# on about/pasthackweeks.md ?

```{toctree}
:maxdepth: 1

../ohw22/index.md


- https://sphinx-doc-zh.readthedocs.io/en/latest/markup/toctree.html
- https://sphinx-doc-zh.readthedocs.io/en/latest/config.html#confval-master_doc

The tutorials are linked via a git submodule which is defined [here](https://github.com/oceanhackweek/oceanhackweek.github.io/blob/source/.gitmodules), but there is an incantation for adding them that I don't remember at the moment, but [here is the PR](https://github.com/oceanhackweek/oceanhackweek.github.io/pull/199/files) when I set things up that way.

There are a whole bunch of other errors that I think correspond to changed pages that are probably worth going through.
emiliom commented 1 year ago

Thanks @abkfenris ! I've pushed several commits that:

The "tutorials-index" git submodule stuff for ohw23 is still pending. @abkfenris I'll let you take care of that.

How do things look now? FYI Old content is still largely not updated, with minor exceptions. I also for the most part haven't added any new warnings ("admonitions") about old content in individual pages. Once the page organization stabilizes and this PR is merged, maybe @alisonpchase and @btupper can tackle that?

emiliom commented 1 year ago

There are still some errors that could be fixed w/o too much trouble. Maybe later!

emiliom commented 1 year ago
emiliom commented 1 year ago

The ohw23 tutorials submodule linkage will be done later, in a separate PR. See #263