Skip to content
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

Migrate blog to Docusaurus #2054

Merged
merged 34 commits into from
Jan 9, 2024
Merged

Migrate blog to Docusaurus #2054

merged 34 commits into from
Jan 9, 2024

Conversation

jaimergp
Copy link
Member

@jaimergp jaimergp commented Jan 8, 2024

PR Checklist:

  • note any issues closed by this PR with closing keywords
  • put any other relevant information below

More of #1971. To check locally:

conda env create -n conda-forge-docusaurus -f .ci_scripts/environment.yml
conda activate conda-forge-docusaurus
npm run build
python -m http.server -d build

We will need to archive conda-forge/blog after disabling its GH Pages integrations.

jaimergp and others added 30 commits December 11, 2022 21:50
* add pages about the packaging life cycle

* add pre-commit checks

* prettier

* comment out some stuff

* retrigger

* use prettier only, with types_or

* Some more work on infrastructure components per stage.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add some authentication details

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* document some more stuff about feedstocks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* save wip

* disable pr autocommit

* pre-commit

* add WIP marks

* change favicon temporarily

* a bit more WIP

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: ocefpaf <ocefpaf@users.noreply.github.com>
Co-authored-by: marcelotrevisani <marcelotrevisani@users.noreply.github.com>
Co-authored-by: isuruf <isuruf@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: beckermr <beckermr@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: isuruf <isuruf@users.noreply.github.com>
Co-authored-by: beckermr <beckermr@users.noreply.github.com>
Co-authored-by: cj-wright <cj-wright@users.noreply.github.com>
Co-authored-by: beckermr <beckermr@users.noreply.github.com>
Co-authored-by: viniciusdc <viniciusdc@users.noreply.github.com>
Co-authored-by: ForgottenProgramme <ForgottenProgramme@users.noreply.github.com>
Co-authored-by: beckermr <beckermr@users.noreply.github.com>
Co-authored-by: wolfv <wolfv@users.noreply.github.com>
Co-authored-by: ssurbhi560 <ssurbhi560@users.noreply.github.com>
Co-authored-by: beckermr <beckermr@users.noreply.github.com>
Co-authored-by: jezdez <jezdez@users.noreply.github.com>
@jaimergp jaimergp requested a review from a team as a code owner January 8, 2024 11:25
@jaimergp
Copy link
Member Author

jaimergp commented Jan 8, 2024

A live preview is available at https://cf-infra-docs.netlify.app/blog/, but without all the compatibility redirects.

@beckermr
Copy link
Member

beckermr commented Jan 8, 2024

So we've moved the blog entries here? That's fine. Do the old links work properly? Cc @isuruf who had an issue with this years ago.

@beckermr
Copy link
Member

beckermr commented Jan 8, 2024

Sorry let me be more specific. There was an old set of redirects built into the current blog from an even older version. Did you get those?

@jaimergp
Copy link
Member Author

jaimergp commented Jan 8, 2024

Ah, good point. I guess you mean those :redirect: directives in the RSTs... I'll double check!

@jaimergp
Copy link
Member Author

jaimergp commented Jan 8, 2024

@beckermr - I checked and I had covered the redirects already, I just didn't remember hah. The main point is that Docusaurus implements the URL schema that the conda-forge/blog system was redirecting. There only a couple instances where it doesn't match (e.g. this one), and in those cases we are covering it now. What we did need to do was to redirect the dashed dates to slash dates in the existing posts.

@jaimergp
Copy link
Member Author

jaimergp commented Jan 9, 2024

cc @jakirkham

@beckermr
Copy link
Member

beckermr commented Jan 9, 2024

I'll start taking apart the old blog later today and then merge this one.

@beckermr beckermr merged commit f1bb49d into conda-forge:main Jan 9, 2024
1 check passed
@beckermr
Copy link
Member

beckermr commented Jan 9, 2024

all steps done - blog should be back up in new site in a few minutes

@jaimergp
Copy link
Member Author

jaimergp commented Jan 9, 2024

Yay, here it is: https://conda-forge.org/blog/

Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants