Skip to content

Change directory structure to match website#247

Merged
bsipocz merged 8 commits intomainfrom
raen/issues/225/change-dir-structure
Feb 14, 2026
Merged

Change directory structure to match website#247
bsipocz merged 8 commits intomainfrom
raen/issues/225/change-dir-structure

Conversation

@troyraen
Copy link
Contributor

Closes #225

  • Move files so the repo directory structure matches the website
  • Update all links
  • Alphabetize config and metadata files to match new directory structure

@troyraen troyraen added maintenance General maintenance of the content and/or infrastructure infrastructure Infrastructure related issues/PRs. labels Feb 11, 2026
@troyraen troyraen marked this pull request as draft February 11, 2026 19:30
tox.ini Outdated
Comment on lines 70 to 71
# Make a list of the tutorials changed, we only need this in CI. Also deal with grep's non-zero exit code.
bash -c 'if [[ $CI == true ]]; then git fetch origin main --depth=1; git diff origin/main --name-only tutorials | grep ".md" || true; fi > changed_tutorials'
# Make a list of the tutorials changed, excluding deleted files. We only need this in CI. Also deal with grep's non-zero exit code.
bash -c 'if [[ $CI == true ]]; then git fetch origin main --depth=1; git diff origin/main --name-only --diff-filter=d tutorials | grep ".md" || true; fi > changed_tutorials'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bsipocz here's the line I had to change in order for the build to pass. Before this, it was failing because it was trying to find a file that had been deleted. (The file isn't actually deleted, just moved, but enough of the file contents were changed that git treats it as deleting the original file and adding a new one.)

Is there a different way you think we should handle that?

Copy link
Member

Choose a reason for hiding this comment

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

as I see the problem is not just about the deletion, but also about treating the landing pages as tutorials.

I would push this and another fix, too into #248. That would also ensure that we don't mix big content refactoring PRs with config and infrastructure changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It makes sense to put it in a different PR. I'll remove that commit from here and rebase onto your #248 branch.

Copy link
Member

Choose a reason for hiding this comment

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

Added a commit. At the end I left the ignore for the deletes, but I don't think it's actually necessary.

Copy link
Member

Choose a reason for hiding this comment

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

Other PR is in, so if you interactive rebased this one and leave out the commit all should be fine and conflict less.

@troyraen troyraen force-pushed the raen/issues/225/change-dir-structure branch from 423d9d2 to 492fea5 Compare February 12, 2026 22:57
@troyraen troyraen marked this pull request as ready for review February 13, 2026 02:49
@troyraen
Copy link
Contributor Author

Ok, I think this is ready to go. The oldest deps job ran into #251. Seems unrelated to this PR.

@troyraen troyraen requested a review from bsipocz February 13, 2026 02:51
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Merging this now as links pointing to these pages from astroquery are already broken and I rather not change them twice.

@bsipocz bsipocz merged commit 2d0648b into main Feb 14, 2026
8 checks passed
@bsipocz bsipocz deleted the raen/issues/225/change-dir-structure branch February 14, 2026 03:22
github-actions bot pushed a commit that referenced this pull request Feb 14, 2026
…structure

Change directory structure to match website 2d0648b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Infrastructure related issues/PRs. maintenance General maintenance of the content and/or infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make repo directory structure match website

2 participants