Skip to content

Commit 2738abc

Browse files
authored
Add more mr.bob, bobtemplates.plone, plonecli references (#1734)
* Add more references. See plone/cookieplone-templates#63 * Incorporate @erral's suggestions, I think
1 parent 0b236ab commit 2738abc

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

docs/classic-ui/mockup.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,49 @@ View the [interactive documentation of Mockup](https://plone.github.io/mockup/).
1818

1919
## Get started
2020

21-
[bobtemplates.plone](https://github.com/plone/bobtemplates.plone) provides [mr.bob](https://mrbob.readthedocs.io/en/latest/) templates to generate packages for Plone projects.
22-
[plonecli](https://github.com/plone/plonecli) provides a command line client for bobtemplates.plone.
21+
[`bobtemplates.plone`](https://github.com/plone/bobtemplates.plone) provides [`mr.bob`](https://github.com/collective/mr.bob) templates to generate packages for Plone projects.
22+
[Plone CLI (`plonecli`)](https://github.com/plone/plonecli) provides a command line client for `bobtemplates.plone`.
2323

24-
Install plonecli into your Python user packages to make it available to all your projects.
24+
Install {term}`plonecli` into your Python user packages to make it available to all your projects.
2525

2626
```shell
2727
pip install plonecli --user
2828
```
2929

30-
Create a theme package add-on with {term}`plonecli`.
30+
Create an add-on package with `plonecli`.
3131

3232
```shell
33-
plonecli add mockup_pattern
33+
plonecli add project.addon
34+
```
35+
36+
This will create a package `project.addon`, which you can install in your Plone site.
37+
38+
You can `cd` to the project, and add features to that package, such as content types, behaviors, control panels, or REST API endpoints.
39+
40+
```shell
41+
cd project.addon
42+
plonecli add content_type
43+
plonecli add behavior
44+
plonecli theme_barceloneta
45+
```
46+
47+
Each of the features asks several questions to create the desired feature, customized to your preferences.
48+
49+
You can check the full list of available features using the `-l` parameter:
50+
51+
```shell
52+
plonecli -l
3453
```
3554

3655

3756
## References
3857

58+
- [`bobtemplates.plone` documentation](https://bobtemplatesplone.readthedocs.io/en/latest/)
59+
- [`mr.bob` documentation](https://mrbob.readthedocs.io/en/latest/)
60+
- [Plone CLI documentation](https://plonecli.readthedocs.io/en/latest/)
61+
- [`bobtemplates.plone` repository](https://github.com/plone/bobtemplates.plone)
62+
- [`mr.bob` repository](https://github.com/collective/mr.bob)
63+
- [Plone CLI (`plonecli`) repository](https://github.com/plone/plonecli)
3964
- {ref}`v60-mockup-resource-registry-label` in Plone 6.0
4065
- [Mockup repository on GitHub](https://github.com/plone/mockup)
4166
- [Patternslib](https://patternslib.com/)

0 commit comments

Comments
 (0)