Closed melissawm closed 3 months ago
Hello, folks! Here's an updated version of the docs, deployed: https://melissawm.github.io/acquire-docs/stable/api_reference/
I have followed the design suggestions, please let me know if this is reasonable. @dgmccart
OOps! I just realized something went wrong with my deployment, will fix soon
EDIT: Fixed it. https://melissawm.github.io/acquire-docs/stable/api_reference/
@dgmccart I have adjusted the font sizes for classes and methods to be 1.5rem and 1rem, respectively.
Here's how those looked before:
After the adjustment:
I'm so excited for this pr!
What's determining the labeling of methods as meth
? Can that be changed? I'd prefer to spell it out as method
or function
.
That is coming from mkdocstrings, but I am pretty sure we can change that. Would any of the other labels need to be changed as well?
Thank you Melissa! This looks great. I have just a few comments after reviewing the site with Janeece:
I don't think there is a standard, I'm not sure other themes use color coding for these properties. I'll try to stick with the same palette offered by material for mkdocs to make it consistent.
A couple questions about item 4:
There are basically from what I can see two kinds of types for the attributes lists: types like int, float, str, list, dict and enum; and types that come from other classes in Acquire.
For the class-based types I can use the class color. What should I do for the others? As far as I can tell there is no standard for this so any guidance would be appreciated.
Updated colors (items 1-3 of comment above) : https://melissawm.github.io/acquire-docs/dev/api_reference/
@melissawm @dgmccart any objections if I merge now and remaining design work happens in a separate PR?
That sounds fine to me!
Sounds good to me too! I'll be keeping an eye out for any trouble with the deployment step.
Deployment is under /dev because I was expecting the version switcher to be deployed before this one, but it works 🎉
https://acquire-project.github.io/acquire-docs/dev/api_reference/
Depends on https://github.com/acquire-project/acquire-python/pull/198
This uses mkdocstrings to autogenerate API documentation for the entire Acquire module from the acquire.pyi file. I moved all of the existing docstring content to that file, so that PR needs to be merged first for this one to work.
I also need to figure out the build automation, which is why I am keeping this as a draft for now.