Update to TOM documentation theme#1476
Conversation
|
Thanks for your feedback @jchate6 ! |
|
I've gone through all the documentation, added more explanatory text and restructured the menus and navigation to be (hopefully) more intuitive for users. |
jchate6
left a comment
There was a problem hiding this comment.
I wouldn't worry too much about the dataservices/broker stuff. That will all be handled in #1559 .
I'm going through the specifics, but I'm worried we are loosing a lot by removing our tree. I think it's a less than ideal user experience to have to search through text for a reasonable link to our pages rather than having them all listed in a more organized way.
We should talk about if there is a way to maintain the tree while also not having it take up as much space. I think my preference would be to have the tree in a side bar like we have for the API docs if possible.
Thoughts?
jchate6
left a comment
There was a problem hiding this comment.
I've merged the conflicts with the Broker removal branch.
Take a look at the dataservices page now for an example of how the trees behave on the left bar.
I didn't remove them for that page.
Also, there are MANY issues when building the docs.
A large number of these come from not having most pages on any tree basically making them unsearchable.
Some of them are formatting issues, some of them are reference issues.
You can check these errors when building the docs locally.
Let me know if you'd like me to take care of these.
/home/jchatelain/git/tom_base/tom_dataservices/dataservices.py:docstring of tom_dataservices.dataservices.MissingDataException:1: WARNING: duplicate object description of tom_dataservices.dataservices.MissingDataException, other instance in api/tom_dataservices/exceptions, use :no-index: for one of them
/home/jchatelain/git/tom_base/tom_dataservices/dataservices.py:docstring of tom_dataservices.dataservices.NotConfiguredError:1: WARNING: duplicate object description of tom_dataservices.dataservices.NotConfiguredError, other instance in api/tom_dataservices/exceptions, use :no-index: for one of them
/home/jchatelain/git/tom_base/tom_dataservices/dataservices.py:docstring of tom_dataservices.dataservices.MissingDataException:1: WARNING: duplicate object description of tom_dataservices.dataservices.MissingDataException, other instance in api/tom_dataservices/data_services, use :no-index: for one of them
/home/jchatelain/git/tom_base/tom_dataservices/dataservices.py:docstring of tom_dataservices.dataservices.NotConfiguredError:1: WARNING: duplicate object description of tom_dataservices.dataservices.NotConfiguredError, other instance in api/tom_dataservices/data_services, use :no-index: for one of them
/home/jchatelain/git/tom_base/tom_dataservices/models.py:docstring of tom_dataservices.models.DataServiceQuery:3: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_dataservices/models.py:docstring of tom_dataservices.models.DataServiceQuery:5: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_dataservices/models.py:docstring of tom_dataservices.models.DataServiceQuery:6: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_sites:5: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_sites:10: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_sites:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_weather_urls:4: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_weather_urls:6: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_weather_urls:9: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_weather_urls:10: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/lco.py:docstring of tom_observations.facilities.lco.LCOSettings.get_weather_urls:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_sites:5: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_sites:10: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_sites:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_weather_urls:4: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_weather_urls:6: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_weather_urls:9: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_weather_urls:10: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/soar.py:docstring of tom_observations.facilities.soar.SOARSettings.get_weather_urls:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_sites:5: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_sites:10: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_sites:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_weather_urls:4: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_weather_urls:6: ERROR: Unexpected indentation. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_weather_urls:9: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_weather_urls:10: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/facilities/blanco.py:docstring of tom_observations.facilities.blanco.BLANCOSettings.get_weather_urls:11: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/tom_observations/utils.py:docstring of tom_observations.utils.get_sidereal_visibility:25: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/docs/api/tom_targets/models.rst:4: ERROR: Unknown directive type "autosummary".
.. autosummary:: [docutils]
WARNING: missing attribute mentioned in :members: option: module tom_targets.templatetags.targets_extras, attribute aladin [autodoc]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:113: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/code/plugins.rst:2: WARNING: Duplicate explicit target name: "github link". [docutils]
/home/jchatelain/git/tom_base/docs/introduction/about.rst:66: WARNING: Inline interpreted text or phrase reference start-string without end-string. [docutils]
/home/jchatelain/git/tom_base/docs/targets/index.rst:4: WARNING: Inline literal start-string without end-string. [docutils]
checking consistency... /home/jchatelain/git/tom_base/docs/api/affiliated.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/api/modules.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/code/automation.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/code/backgroundtasks.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/code/custom_code.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/code/querying.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/common/customsettings.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/common/latex_generation.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/common/permissions.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/common/refactoring_roadmap.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/common/scripts.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/adding_pages.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/customize_template_tags.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/customize_templates.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/encrypted_model_fields.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/htmx_tables.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/testing_toms.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/customization/widgets.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/deployment/amazons3.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/deployment/deployment_heroku.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/deployment/deployment_tips.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/examples.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/about.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/acknowledging_tom_toolkit.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/contributing.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/credits.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/faqs.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/programming_resources.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/tomarchitecture.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/troubleshooting.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/introduction/workflow.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/continuous_sharing.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/customizing_data_processing.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/plotting_data.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/single_target_data_service.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/stream_pub_sub.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/managing_data/tom_direct_sharing.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/observing/customize_ocs_facility.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/observing/observation_module.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/observing/selecting_targets_for_facility.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/observing/strategies.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/targets/target_fields.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/targets/target_matcher.rst: WARNING: document isn't included in any toctree
/home/jchatelain/git/tom_base/docs/targets/target_table.rst: WARNING: document isn't included in any toctree
There was a problem hiding this comment.
Some of these might be non-issues, or resolved when conflicts have been merged.
I'll try to fix a few this afternoon.
Issues:
-
documents on multiple trees: (It's a little weird to be bounced to the targets TOC instead of observing,but I think it's fine for now.)-
targets/Observing --Select Target for Facility -
Dataservices/API/Plugins --Available Data Services -
Dataservices/API/Plugins --Data Service Views
-
- Weird margin issues for
datapages.- Wide left margin on
Custom data processingandvisualizing data
- Wide left margin on
-
PluginsTOC just subset ofAPI -
Supportis a subset of Getting stated -
programming resourceshas non-functional nest -
getting started/workflow/creating targetsis out of date (includes MARS) and has black text on transparent background that cannot be seen
|
I've added a right-hand-side menu to the custom data processing and data visualization pages, and I've updated the text and figures for the workflow page. |
|
Please note I've resolved the conflict with docs/observing/index.rst by including the same new entries further down in the text. |
I felt it was time to update the theme used for the Toolkit's documentation on ReadTheDocs.
This PR implements just the new theme and the necessary dependencies. I'm considering it preliminary because I'd like to do some reorganization of the menu structure to make it more navigable within this theme, but I thought that would be too much for a single PR. So I'm submitting this now to get some feedback