Skip to content

reorg docs operate #766

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

fenekku
Copy link
Collaborator

@fenekku fenekku commented May 22, 2025

Reorganize the Customize, Develop and Deploy sections into Operate section (and other sections).

Notes

This reorganization pass is probably more dramatic than the previous ones.

  • Combines elements of the former "Develop" section with elements of the former "Customize" and "Deploy" section into one section that targets instance operators as the audience.
  • Goal is for this corner of the documentation to be the main one-stop-shop for operators (shouldn't have to go further 80% of the time)
  • Pushes for locality of information to achieve this
    • Helps readers by not losing them across 5 far apart locations
    • Helps writers similarly to concentrate their configuration documentation
  • Surfaces some sections in the docs UI even if not surfaced in the directory structure: this is usually to bring attention to sections for readers, but let writers have less constraints
  • Removes add_javascript.md since completely covered by custom_code.md
  • Places migration creation in maintenance/internals (was debating placing in maintenance operations)
  • Place infrastructure.md in Operate/ops section
  • Place how to make a security fix in Contribute/code section
  • Modifies the Install section only so far as to harbor docs not fitting the Operate section
  • Standardizes the images folder to be imgs and placed closest to image usage in Operate (not really touched image folder of other sections)
  • The higher level directory/file structure is more set, but the lower level directory/file structure is more amenable to content move/rename.

Review divisions

Those are artificial savepoints to help with the review. Will squash all of them when merging.

  • docs-reorg: move Releases before Reference
  • docs-reorg: add operate/ops section
  • docs-reorg: add operate/customize section
  • docs-reorg: add operate/code section
  • docs-reorg: rm customize/, develop/, deploy/ sections
  • docs-reorg: update references
  • docs-reorg: update install/ section
  • docs-reorg: move infrastructure, security fix, migrations

Screenshots

Home page
reorg_operate_home

Operate section
reorg_operate

Demosite

Demosite (all reorg so far): https://fenekku.github.io/docs-invenio-rdm/

Up next

Reorganize the "Install" section into "Getting Started"

@fenekku fenekku added this to v13.0.0 May 22, 2025
@fenekku fenekku moved this to 👀 In review in v13.0.0 May 22, 2025
Copy link
Contributor

@tmorrell tmorrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these great changes! I think the reorg overall makes sense. I mostly added comments on introducing the environment variables, and whether that should be included earlier in the flow.

@@ -1,4 +1,4 @@
# Configuration
# Configure everything
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the section order...I think this should be before "Customize metadata model". Settings like TRUSTED_HOSTS are going to be needed by everyone who is standing up an instance, while only some people will need to get into metadata.

This could also get broken up into more common and less common configuration elements...but probably not needed for the initial reorg.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the "common and less common configuration elements" is indeed the right strategy to address that one. We could highlight the common/needed configuration elements in either the upcoming "Get Started" section and/or the Operate/ops/deploy.md section (once the Get Started section is done).

This "Configure everything" section is a bit of a catch-all-else section for all the knobs and levers InvenioRDM provides that were not covered yet. Since it is so big and will grow, pushing it towards the end of the Operate section feels like the right place: it's a reference section of everything configuration. More important configurations like TRUSTED_HOSTS and so on, have to be highlighted/linked to from elsewhere to make sure they get the right attention though as you've pointed out.

New Ticket: #768

@@ -1,13 +1,13 @@
# Records custom fields
# Add field(s) to records
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd use "custom field(s)" instead of "field(s)". Since they aren't treated like other fields.

- [Log](./ops/logging.md)
- [Back up search indices](./ops/backup_search_indices.md)
- [Redirect legacy routes](./ops/route_migration.md)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd lean toward putting configure here, or even before deployment. The beginning part with environment variables is really needed before folks start moving toward deployment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, having a section for the subset of configurations really needed before deployment would make sense here. As mentioned above, I will loop back around to this one when the Getting Started section is done to see how the difference splits. I am saying this because some of those configuration used to be in the install section, so I wonder how they will sit when that section gets transformed 🤔 .

@fenekku fenekku force-pushed the reorg_docs_operate branch from e73c7b6 to 0059adc Compare May 23, 2025 12:31
@fenekku
Copy link
Collaborator Author

fenekku commented May 23, 2025

Updated. I will do a content pass to highlight the needed configurations as part of #768 .

@fenekku
Copy link
Collaborator Author

fenekku commented May 23, 2025

and demosite deployed: https://fenekku.github.io/docs-invenio-rdm/

@fenekku fenekku force-pushed the reorg_docs_operate branch from fda039a to 488d995 Compare May 27, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

3 participants