-
Notifications
You must be signed in to change notification settings - Fork 29
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
Write docs for Core component #214
Comments
Hello @favour-chibueze and @RCheesley |
Awesome @Peacesandy please let us know if you need any guidance! |
Thank you! |
@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. |
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 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
The text was updated successfully, but these errors were encountered: