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

First batch of the overhaul of the add-ons section #6397

Merged
merged 63 commits into from
Nov 5, 2024

Conversation

sneridagh
Copy link
Member

@sneridagh sneridagh commented Oct 11, 2024

Ok, this is the beginning only. I plan to continue tomorrow.
I cleaned up the big bucket that the main index.md was.
Not sure of its current shape yet but organizing this is daunting.
I merged some things that were already reordered in the training, merged all together in here.
I have the feeling that we will need a brother section in development section only for developing add-ons with all the workflow explained in there (testing, linting, etc).

Disclaimer: I haven't double check things yet!


If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #


Pull request preview:

https://volto--6397.org.readthedocs.build/

Copy link

netlify bot commented Oct 11, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit c3e4066
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/6729ec6f5679840008fbe361

stevepiercy and others added 3 commits October 13, 2024 21:13
* main: (23 commits)
  Aliases control panel: Improve layout and add CSV upload (#6421)
  Fix site setup access at toolbar by using @actions endpoint. (#6413)
  Remove last CI tests still in 18 (#6418)
  Node 22 as LTS, main and recommended Volto version (#6371)
  Refactor Aliases control panel and support new filters (#6414)
  Remove the Plone app from apps folder (#6415)
  Release generate-volto 9.0.0-alpha.19
  Release @plone/providers 1.0.0-alpha.3
  Release @plone/components 2.0.0-alpha.16
  Release @plone/client 1.0.0-alpha.19
  Release @plone/types 1.0.0-alpha.21
  Some types improvements/fixes (#6412)
  [providers] Improve and group providers (#6069)
  Adjust the path to perform a proper `git diff` between the cached and… (#6410)
  Test whether commenting out the `ignore` command has any affect on the Netlify build.
  support depth in getNavigationQuery (#6400)
  Update caniuse Oct24 (#6408)
  Upgraded nextjs deps and configuration (#6388)
  Update `typescript` and `vitest` everywhere (#6407)
  Remove all traces of Jest 24 in core (#6406)
  ...
@sneridagh
Copy link
Member Author

@stevepiercy I moved things around, and sync with the other PR. Now it's starting to get in shape.

@stevepiercy
Copy link
Collaborator

@sneridagh is this ready for review now, or should I hold off?

@sneridagh
Copy link
Member Author

@stevepiercy I will take another round today, and side by side with the other PR, to see if I can make both even in terms on how we explain things.

@stevepiercy
Copy link
Collaborator

Hold off, I found a bug, commit incoming.

@stevepiercy
Copy link
Collaborator

OK, that should fix readme-linkcheck

@stevepiercy
Copy link
Collaborator

@sneridagh needs change log

@sneridagh
Copy link
Member Author

@stevepiercy done.

@stevepiercy
Copy link
Collaborator

@sneridagh can you resolve the conflicts? Then I will review.

sneridagh and others added 12 commits October 26, 2024 15:18
* main:
  [Next.js] Better Vercel deployment (#6441)
  Replace all `yarn` appearences with `pnpm` (#6433)
  Add deprecation notices to the Upgrade guide (#6426)
  Clean up #6422 (#6443)
Clean up some grammar.
Let's avoid "frontend", and instead use "user interface", as this has come to bite us in the backend.
…s a How-to guide.

Add to Development index so it shows up in the main navigation.
Specify Volto 17 as stable release.
Include mention of npm Registry with link.
Fix grammar and syntax.
Apply style guide.
…d use Sphinx Design with synched tabs to show relevant commands for each version of Volto
Grammar.
MyST markup enhancements.
@sneridagh
Copy link
Member Author

@stevepiercy I gave it a read and I'm crying. Amazing job, thanks for your careful review and curation.
It's GTG for me.

Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Let's wait at least one more day before merging to give the rest of the @plone/volto-team a chance to review this massive change to documentation of Volto add-ons.

However, I want to merge this no later than Tue, Nov 5, AOE, because Volto 18.0.0 is now released, PloneConf 2024 is near, and we have massive changes to the main Plone 6 documentation and Trainings in the pipeline that depend on these docs.

docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/best-practices.md Outdated Show resolved Hide resolved
Copy link
Member

@nileshgulia1 nileshgulia1 left a comment

Choose a reason for hiding this comment

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

lgtm apart from a comment.

Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Minor grammar fixes. Good stuff!

docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
docs/source/development/add-ons/test-add-ons-18.md Outdated Show resolved Hide resolved
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

@sneridagh @stevepiercy Amazing work! I haven't read every line, but the overall restructuring is a great improvement. Let's not hold this back.

Copy link
Member

Choose a reason for hiding this comment

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

Should this also be linked from https://6.docs.plone.org/volto/theming/index.html?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Addressed in c80eb56. The enter Theming section would be good to tackle, but not further in this PR.


# Extend webpack setup from an add-on

Just like you can extend Razzle's configuration from the project, you can do the same with an add-on.
Copy link
Member

Choose a reason for hiding this comment

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

This sentence seems outdated...it assumes the reader is familiar with projects, but that's a concept we're trying to get rid of.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice catch. There may be this and other artifacts that should be removed or updated, perhaps with a {deprecated} admonition.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In fact, reading this page, I don't think anything in it still applies. @sneridagh can you take a look at this one?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Addressed in 4b9f837. @davisagli @sneridagh please have a look.

@stevepiercy stevepiercy added 99 tag: docs-reorg Reorganization of docs following Diátaxis Framework 99 tag: has docs This pull request has documentation labels Nov 5, 2024
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Let's ask at today's @plone/volto-team meeting for final review, then merge by the end of the day.

@davisagli
Copy link
Member

@sneridagh @stevepiercy Can we merge?

@stevepiercy stevepiercy merged commit 5d08348 into main Nov 5, 2024
69 checks passed
@stevepiercy stevepiercy deleted the overhauladdonssection branch November 5, 2024 23:08
sneridagh added a commit that referenced this pull request Nov 6, 2024
* main: (27 commits)
  React Router 7 experimental PoC (#6472)
  First batch of the overhaul of the add-ons section (#6397)
  URL Management control panel: show errors from CSV upload (#6473)
  Release 18.0.3
  Release @plone/registry 2.1.2
  Preparing for 18.0.3
  Fix weird issue in images build with typings (#6471)
  Release 18.0.2
  Release @plone/providers 1.0.0-alpha.5
  Release @plone/scripts 3.8.1
  Release @plone/components 2.1.1
  Fix packaging and plone/components src export (#6470)
  Release @plone/registry 2.1.1
  Repackage registry
  Release 18.0.1
  Release @plone/providers 1.0.0-alpha.4
  Release @plone/components 2.1.0
  Release @plone/client 1.0.0-alpha.20
  Release @plone/scripts 3.8.0
  Release @plone/registry 2.1.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
99 tag: docs-reorg Reorganization of docs following Diátaxis Framework 99 tag: has docs This pull request has documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants