Skip to content

Reorganize docs by app#579

Open
ormsbee wants to merge 12 commits intoopenedx:mainfrom
ormsbee:separate-docs
Open

Reorganize docs by app#579
ormsbee wants to merge 12 commits intoopenedx:mainfrom
ormsbee:separate-docs

Conversation

@ormsbee
Copy link
Copy Markdown
Contributor

@ormsbee ormsbee commented May 1, 2026

This groups the ADRs by app and re-numbers them so that each app gets its own independent sequence of ADRs. It also reorganizes the top level docs accordingly, and fixes some docs build errors.

  • docs: rearrange ADRs to be separated by app
  • docs: redo ADR numbering to be app-local
  • docs: add an extra layer of nav for decisions-by-app
  • docs: refactor docs to have separate top levels for each app
  • docs: adjust so that the openedx_core repo-level stuff is at the top level

Claude did most of the heavy lifting on the refactoring end of this, while I mostly manually tweaked the top level organization and some of the text changes.

This is what it looks like:

image

FWIW, I expect this to the first of a number of PRs to fix up the docs in this repo before Verawood is officially released.

@ormsbee ormsbee marked this pull request as draft May 1, 2026 21:07
@ormsbee
Copy link
Copy Markdown
Contributor Author

ormsbee commented May 1, 2026

I haven't manually reviewed these changes yet. I'll mark it as Ready for Review once I have.

- Clear separation between authoring configuration and computed learner state.
- Could allow different storage or scaling strategies for status data.
- Cons:
- Still introduces cross-app dependency and coordination for a single feature set.
Copy link
Copy Markdown
Contributor Author

@ormsbee ormsbee May 1, 2026

Choose a reason for hiding this comment

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

Note: most of this is just removing extra whitespace that was breaking the docs build.

FYI @mgwozdz-unicon: Just a heads up about this issue. Please configure your text editor to strip extra whitespace.

Comment thread README.rst
@@ -1,13 +1,13 @@
Open edX Core: Foundational Packages for a Teaching & Learning Platform
=======================================================================
Copy link
Copy Markdown
Contributor Author

@ormsbee ormsbee May 1, 2026

Choose a reason for hiding this comment

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

This was awkwardly large for the nav sidebar text, so I moved it to be at the start of the text instead.

Comment thread setup.py
'Framework :: Django',
'Framework :: Django :: 5.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This and the license formatting change above it are in response to docs warnings.

@ormsbee ormsbee marked this pull request as ready for review May 1, 2026 21:40
Copy link
Copy Markdown
Contributor

@sarina sarina left a comment

Choose a reason for hiding this comment

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

my docs hero!

:maxdepth: 1
:glob:

0*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[curious] is this a typo or does 0* have semantic meaning? Never seen the 0 part - https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-option-toctree-glob

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I interpreted it to mean that it's trying to match all the ADRs (which all start with "00XX-"), without grabbing images. Is there a more idiomatic way to do this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I guess it works fine with just * and ignores the images. I'll make that change, ty.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What if we get to ADR-999??? What then!?!!?

(j/k... I totally missed that the children in this dir had 0 as their starting file name, I just thought it was some fancy RST shenanigans)

@sarina
Copy link
Copy Markdown
Contributor

sarina commented May 1, 2026

Swooning over docs: use labels and ref links instead of direct file links 😍

@ormsbee
Copy link
Copy Markdown
Contributor Author

ormsbee commented May 1, 2026

Swooning over docs: use labels and ref links instead of direct file links 😍

For those that don't realize from the context, the only reason I know that was a thing to do is because @sarina gently pointed me to it. 😁 Thank you.

There are a few high level constraints that we have to consider:

#. Existing openedx-platform migrations should not be modified. Existing openedx-platform migrations should remain unchanged. This is important to make sure that we do not introduce ordering inconsistencies for sites that have already run migrations for the old apps and are upgrading to a new release (e.g. Verawood).
#. Existing openedx-platform migrations should not be modified. This is important to make sure that we do not introduce ordering inconsistencies for sites that have already run migrations for the old apps and are upgrading to a new release (e.g. Verawood).
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was a typo that just irritated me too much to not fix when I ran across it.

The tricky part is that all the ``opendx-learning`` migrations will run before any of the ``openedx-platform`` migrations run. We can't force it to do otherwise without making ``openedx-learning`` aware of ``opendx-platform``, and we explicitly want to avoid that. This makes things tricky with respect to the model state dependencies. There are two scenarios we have to worry about:

Migration from Scrach
Migration from Scratch
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Another typo that makes me wonder how tired I was when I wrote this ADR. 😛

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.

2 participants