Skip to content

Conversation

josh-wong
Copy link
Member

@josh-wong josh-wong commented Sep 25, 2024

Description

This PR removes docs and images since they are now maintained in scalar-labs/docs-internal-scalardl instead of this repository. Since users should now be referencing the ScalarDL docs site and might be confused with seeing the unmaintained docs in this repository, I think we can safely remove the docs from this repository.

Important

I kept some files in the docs folder, like the ScalarDL sample code files. In addition, I kept the files that are used to redirect users to the appropriate docs site since there are still a significant amount of visitors (~80) who have clicked that link over the last 90 days.

Related issues and/or PRs

Changes made

  • Removed docs and files that were labeled as no longer being maintained since we had moved them.
  • Removed an old redirect that we implemented after launching the Jekyll-based docs sites more than one year ago.
    • This redirect automatically directed users from the GitHub Pages site deployed from the scalardl repository to the GitHub Pages site deployed from the docs-scalardl repository. Since it's been more than one year and we have links to the docs site in the repository "About" section and root README, I don't think we need this redirect any more.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

Release notes

N/A

Copy link
Contributor

@kota2and3kan kota2and3kan left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Comment on lines -1 to -5
> [!CAUTION]
>
> The `docs` folder has been moved to the centralized documentation repository, [docs-internal](https://github.com/scalar-labs/docs-internal). Please update this documentation in that repository instead.
>
> To view the ScalarDL documentation, visit [ScalarDL Documentation](https://scalardl.scalar-labs.com/docs/).
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure, but should we keep this to redirect users to the docs site? Or does the redirection work in other ways? Also, did you intentionally leave the _includes and _layouts?

Copy link
Member Author

@josh-wong josh-wong Sep 30, 2024

Choose a reason for hiding this comment

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

@jnmt

should we keep this to redirect users to the docs site? Or does the redirection work in other ways?

This isn't really an automatic redirect, so I don't think we need it anymore. We have a link to the docs site in the About section of the scalar-labs/scalardl home page and in the root README, so I think that should be enough.

Also, did you intentionally leave the _includes and _layouts?

Actually, we don't really need those anymore since they were implemented more than a year ago. I just now removed them in d205338.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it, thank you for the update!

Remove an old redirect that we implemented after launching the Jekyll-based docs sites more than one year ago.

This redirect automatically directed users from the GitHub Pages site deployed from the `scalardl` repository to the GitHub Pages site deployed from the `docs-scalardl` repository. Since it's been more than one year and we have links to the docs site in the repository "About" section and root README, I don't think we need this redirect any more.
Copy link
Member Author

Choose a reason for hiding this comment

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

@feeblefakie Could you please disable GitHub Pages for this repository since we're removing this old redirect?

Copy link
Contributor

Choose a reason for hiding this comment

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

@josh-wong It's unpublished now. Is it OK?

Copy link
Member Author

Choose a reason for hiding this comment

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

@feeblefakie I still see the site deployed under https://github.com/scalar-labs/scalardl/deployments/github-pages. In this repository, if you go to Settings > Pages, under Build and deployment, there's a section named Branch. If a branch is selected in the dropdown menu, try selecting None.

If that doesn't work, let's try to unpublish it over a quick screen-sharing session.

Copy link
Collaborator

@jnmt jnmt left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Copy link
Contributor

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@feeblefakie feeblefakie merged commit fe6078c into master Oct 1, 2024
@feeblefakie feeblefakie deleted the remove-docs branch October 1, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants