-
-
Notifications
You must be signed in to change notification settings - Fork 176
Create a Reference Guide with Cookieplone make
commands and prompt reference
#1758
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
Comments
Hello @stevepiercy sir, I'd like to work on this issue and contribute to the Plone documentation. I have already set up the documentation environment and started exploring the Could you please assign this issue to me? Also , in order to get the list of make commands can i generate the project using 2nd training(volto-customization using javascript) Looking forward to your guidance. Thanks! regards, |
@GOGETASSB23 thank you for your interest! We don't assign issues. You can claim them. See Things not to do. See also Install Plone with Cookieplone, which is the authoritative source for doing just that. |
make
commandsmake
commands and prompt reference
@stevepiercy sir, taking into consideration the guidelines to follow the Set up,build and check the quality of documentation, I created a new fork and started over. I have a doubt regarding the setup. When using So, according to the suggested documentation, I need to follow this doubt has been solved, thank you.. |
We don't use mkdocs. We use Sphinx.
The new file should go in a new directory:
New files also require a
...which will contain the Finally, the primary |
@stevepiercy How much detailed explanation is required here? Also, there are three Makefiles — one each for the root, frontend, and backend. Should the documentation cover all of them? If so, I assume three separate sections will be needed. |
@Manas-Kenge thanks for your interest. It's not obvious, but most make commands can be run from the root of the project. There may be exceptions, such as If you look at the root ###########################################
# Frontend
###########################################
.PHONY: frontend-install
frontend-install: ## Install React Frontend
$(MAKE) -C "./frontend/" install Here you can see that .PHONY: install
install: ## Installs the add-on in a development environment
pnpm dlx mrs-developer missdev --no-config --fetch-https
pnpm i
make build-deps The level of detail is subjective. We don't want "word salad" or know "how sausage is made", yet the existing terse
Finally, I'd organize it following the root Does that help? |
The canonical startpoint link to this detailed cookieplone make commands docs (when initially available to docs) should be mentioned in the final console output of a cookieplone run and the main README.md. Question: Does it make sense to open up a ticket there until this one is finished. I enjoyed the extended explanation @sneridagh used in the final console output of his seventemplate branch/tag. This is the first place to avoid confusion for newbies. |
@acsr please see screenshot, and create a new issue in both Cookieplone and cookieplone-templates repos, referencing this issue. |
Thanks for the clarification @stevepiercy! I will do my best. |
Done, see referenced tickets by github above. @stevepiercy should be also become part of the docs for the creation of cookieplone templates make sure new templates contain a proper motivating and clarifying final console message to point to the startpoints in the Readme and the docs. |
@acsr if you're talking about how to contribute to cookieplone-templates, that's already done in https://github.com/plone/cookieplone-templates?tab=readme-ov-file#contribute-, per a recent PR merge. Specific contributing guidelines don't belong in the main documentation—except for submodules that get pulled in automatically—as it is specific to just that project and would become a duplicitous maintenance burden. Otherwise I don't know what you mean. Can you give an example? |
Example moved to different location… |
@acsr I'm sorry, but you've gone far off topic for this issue, which is merely documenting make command usage. Please open a separate issue in the correct repo for these concerns. |
@stevepiercy you asked for an example here, that was already mentioned. I moved the topic to these locations already and failed to get that we are here in the different context. I remove the above answer for keeping clarity. |
Links of affected pages in Plone Documentation, if any.
No response
Description
After generating a full Plone project with Cookieplone, you can run
make help
to get an almost complete list ofmake
commands with help text. Enhance that output by organizing them or adding context, such as Frontend and Backend. The help text output from themake help
command is often not sufficient for first-timers.make
reference", atdocs/reference/cookieplone-make-commands.md
.docs/reference/index.md
and reference the previous file.docs/index.md
referencing the previous file.README.md
or the help text.The text was updated successfully, but these errors were encountered: