Skip to content

DRAFT: Convert all rst files to myst - #1437

Draft
iqlinuxadmin wants to merge 3 commits into
OSC:latestfrom
iqlinuxadmin:latest
Draft

iqlinuxadmin wants to merge 3 commits into
OSC:latestfrom
iqlinuxadmin:latest

Conversation

@iqlinuxadmin

@iqlinuxadmin iqlinuxadmin commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Modify this link to include the branch name, and possibly the page this PR modifies:

https://osc.github.io/ood-documentation-test/BRANCH-NAME/

Add your description here
This PR is for discussion only. I ran the following to convert the whole repo from rst to myst:

find . -type f -name '*.rst' -exec sh -c '
  for f do
    echo "Moving: $f -> ${f%.rst}.md"
    git mv -- "$f" "${f%.rst}.md"
  done
' sh {} + 2>&1 | tee -a rename.log
 find . -type f -name \*.md -exec rst2myst convert {} \; >> rst2myst.log 2>&1

It doesn't look too bad, afaict, but we will want to discuss at our meeting on Friday.

@iqlinuxadmin
iqlinuxadmin marked this pull request as draft October 23, 2026 15:28
@iqlinuxadmin

Copy link
Copy Markdown
Collaborator Author

This should work for converting .inc files:

find . -type f -name \*.inc -exec rst2myst convert {} \; >> rst2myst.log 2>&1

This branch has not been deployed

No deployments
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.

1 participant