Open favour-chibueze opened 2 months ago
Hello @favour-chibueze and @RCheesley Can I take this up, I'd like to work on it.
Awesome @Peacesandy please let us know if you need any guidance!
Thank you! Sure, how do I get started please, what is the core component all about?
@escopecz could you give any guidance here? The file was added by Alan when we initially started this repo.
The CoreBundle is a basically the Mautic bundle. Other core bundles are adding some specific feature like Configuration, Category, User bundles. The Core bundle is the only bundle that must be present to have Mautic working. Basically, if there is a PHP class that is used in multiple other bundles, it's added to the CoreBundle. It's hard to describe it easily as it is huge but doesn't really do anything specific, really. It contains all the interfaces and abstract classes that other bundles are implementing and extending. It actually handles themes but that's pretty much the only visible feature it handles.
Okay, thanks for the clarification @escopecz
Hello @escopecz and @RCheesley any guidance on how I can set up the docs on my local machine or can I add the documentation via Github.
@favour-chibueze
Hello @escopecz and @RCheesley any guidance on how I can set up the docs on my local machine or can I add the documentation via Github.
@favour-chibueze
Have you tried using gitpod? @Peacesandy
@favour-chibueze , I have cloned it to my local machine, should I go ahead and add the documentation and make a PR?
Yes, please
Okay
@RCheesley and @escopecz which of the files do I do the routing?
Hi @RCheesley @favour-chibueze @escopecz I've not been able to push my changes and I can't create a PR
Hi there!
Here's how to set up the docs locally: https://github.com/mautic/developer-documentation-new?tab=readme-ov-file#build-documentation-locally
Here's how to make a PR on GitHub:
Thank you so much for your help @RCheesley
After building the documentation and running make HTML, I noticed that the build files are grey because the build is included in gitignore.
Should the changes be made in the build files or component, .rst which is written in markdown
Great question! You only need commit the .rst files, anything in /build should not be committed as they are built when we render the documentation.
So, make the changes to your files, use the make html
command to rebuild the docs and check that they are working OK (I run DDEV in the /docs folder to have a web server on which to do this - you need to install Docker Desktop/Colima and DDEV to do this, then type ddev config
when in the docs folder, and then just accept the defaults, then ddev start
and it will give you a local URL to use to check).
Once you're happy everything has rendered as you'd expect it to, then you can commit the .rst files which you edited (and only those files).
Thank you so much @RCheesley
HI @Peacesandy how are you getting along, did you need any further help?
We need to write documentation on the Core component.
https://devdocs.mautic.org/en/latest/components/core.html