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

Merge staging into master #618

Merged
merged 38 commits into from
Sep 27, 2024
Merged

Merge staging into master #618

merged 38 commits into from
Sep 27, 2024

Conversation

greg0ire
Copy link
Member

I think the new docs are good enough if not better 🙂

jaapio and others added 30 commits August 21, 2024 22:48
I introduced an interface to be able to switch between the different
implementations. The first setup of guides is done at the required locations and allows us to render the documentation. However this doesn't work yet without issues. More might be needed consider this work in progress.
Use guides to render rst pages.
As toctree does modify the structure of the docs, which results
in infinitif loops when items refer to eachother, we switched
to menu.
To allow full usage of the configuration move the theme configuration
to a compiler pass that will set the value.
Apply the correct template for section authors.
Add an extra fix in the migration from old doc styles to correct the
display of author names.
We do want to include every document in the menu when we do a fallback
to the default menu. `/*` does match all files are root level, while we
wanted to match everything `*`.
The upgrade of guides contains the fix required to make the menu
render the section titles of each page.
SenseException and others added 8 commits September 25, 2024 20:07
Full wildcard match on default menu
The logger introduced before was very usefull in the setup process
but by now, it should be replaced by something more mature to ensure
the logs to not end up in the final output.
So the origin of the menu's not working is in the way the menu's are defined. The doctrine parser did use * as a deep search wildcard which is not according to the behavior sphinx does it. As the toctree is a directive defined by sphinx we try to follow that one closely. The correct way of writing a toctree is

```
.. toctree::
   :glob:

   **
```

This will include all documents and sections in a project. starting at the level of the current page.
@SenseException SenseException merged commit f5d05ec into doctrine:master Sep 27, 2024
5 checks passed
@SenseException
Copy link
Member

Build goes weeeeeeee.

@jaapio
Copy link
Contributor

jaapio commented Sep 27, 2024

Thanks @SenseException and @greg0ire for your reviews and testing work last week.

I love open source and doctrine. Let me know if you need any help with the docs in the future.

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

Successfully merging this pull request may close these issues.

3 participants