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

RFC: Move documentation out of framework into a dedicated repo #10215

Closed
7 tasks done
maxime-rainville opened this issue Jan 25, 2022 · 12 comments
Closed
7 tasks done

RFC: Move documentation out of framework into a dedicated repo #10215

maxime-rainville opened this issue Jan 25, 2022 · 12 comments

Comments

@maxime-rainville
Copy link
Contributor

maxime-rainville commented Jan 25, 2022

Affected Version

4.11

Description

Having the documentation be part of framework is an historical artifact that provides no value and creates needless problems:

  • It forces us to tag framework every release, even if nothing has changed
  • It makes us run full builds of framework whenever we do doc changes, needlessly clogging our pipeline
  • It pollutes the framework history with DOC changes unrelated to it.

Proposal

  • Move the doc to a dedicated repo
  • Update doc.silverstripe.org repo to track changes from the dedicated doc repo instead.
  • Update the sink to include the dedicated repo in releases

Acceptance criteria

  • Doc lives in a dedicated doc repo
  • All doc is removed from framework
  • Update the doc so the link to edit documentation points to the new repo
  • Doc repo is added to kitchen sink (for release purposes)
  • kitchen sink's cow.json is updated to put change log in new repo
  • Update the doc.silverstripe.org Netlify generation logic to look for docs in the new repo
  • Review framework PRs and call out the ones that might need to be updated so docs get put in the new repo, not in framework

Notes

PRs

@emteknetnz
Copy link
Member

+1

2 similar comments
@michalkleiner
Copy link
Contributor

👍

@christopherdarling
Copy link
Contributor

👍

@maxime-rainville
Copy link
Contributor Author

Got a bunch of core committers thumbing up and no one raising objections. I'll call this one accepted.

@GuySartorelli
Copy link
Member

GuySartorelli commented Feb 6, 2022

Currently the documentation in the website draws from the 4 branch which means it may include documentation for changes or features which haven't been given a stable release. Moving to a separate repository will give the additional benefit of being able to point to a stable-only copy of the docs.

Edit: See silverstripe/doc.silverstripe.org#175

@sminnee
Copy link
Member

sminnee commented Jun 27, 2022

Sorry for the late response, but yeah this seems like a good idea - it make more sense to bundle the docs into the repo when we had fewer repos.

@gurucomkz
Copy link
Contributor

Right... now instead of PR waiting years in one queue there will be 2 queues...

@GuySartorelli
Copy link
Member

If you mean because there is a separation between a code PR in the framework module and the corresponding docs PR in the docs module, the same separation has always existed for code PRs in every module other than framework.

@GuySartorelli
Copy link
Member

@emteknetnz Why is this assigned back to me? There are no outstanding questions or requested changes in the PRs?

@emteknetnz
Copy link
Member

Oh right apologies, I thought that migrating the docs themselves hadn't been done, just checked and they have moved

gurucomkz added a commit to gurucomkz/silverstripe-framework that referenced this issue Jul 12, 2022
@GuySartorelli
Copy link
Member

New issue created to investigate why this isn't showing up in Elvis: silverstripe/github-issue-search-client#100

Closing this issue now as all actions are complete.

gurucomkz added a commit to gurucomkz/silverstripe-framework that referenced this issue Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants