Skip to content

yourdigitalclub/documentation

 
 

Repository files navigation

Mautic Documentation

Introduction

This book serves as the documentation for Mautic, the open source marketing automation system. Just as the code is open source and available for everyone, so is the documentation. Everyone is welcome to help make this information better and improve as needed.

Download as PDF!

Click here to download these docs as a PDF.

How to contribute to the docs

This repository is the source code for Gitbook published at www.mautic.org/docs. The source code is shared here on GitHub so anyone could contribute to the documentation the same way the programmers do with the actual Mautic code.

Why is git used for the documentation

  • versions. Anyone can go back an look how the text looked like.
  • authorship. Not only every file, but every line has its author.
  • community contributions. No need to worry about deleting someone else's work while working on the same document.

Although some git knowledge is required to clone, modify, commit and push changes, there is a way how to avoid that and edit the files directly in the GitHub web interface. If you know git, use the workflow you like. If not, following guide will show you how to contribute easily.

Edit documents in a browser

  1. Fork this repository under your account so you'd have permission to edit.
  2. Select a file to edit. The file structure is explained below. Now, let's edit the README.md file to show the principles. Click on it.
  3. The content of README.md should be visible and the Edit buton (the pencil icon) above as well. Hit it.
  4. The content is written in Markdown markup. Very simple text based formating.
  5. Make a change to the file. For example add to the end This is my first contribution.
  6. When you made a change, scroll down and notice the form called Commit changes. This is important. To save a change, you have to describe what you've changed and why. Write for example A new line added for testing purposes. Do not save yet!
  7. Because the GitHub web interface does not provide all features of git, we won't have an easy way to revert our change back to the original state. We'd have to create another commit where we'd delete the added line. That would make a mess in the commit history. So instead, we create a new branch. There is a checkbox for it "Create a new branch...". The branch has to have a name. {yourusername}-patch-1 will be prefilled. Let's change it to {yourusername}-testing. Click the Propose file change now.
  8. Ok, so the change exists in your repository now. To propose the change to the official repository, you have to send a pull request (PR). You've been redirected to do just that. Here you describe your proposed change and click (please don't send the testing PRs) the Create pull request button.

If you want to clean after the testing, go to the Branches section and delete the testing branch.

The file structure

We've worked with the README.md file in the previous section. This file is shown in the home page of a GitHub repository and you are reading its content right now. It doesn't have anything to do with the Mautic documentation.

The SUMMARY.md file defines the menu of the documentation. If you'll add a new page to the documentation, you'll have to also add a new line there defining the title and the link to the file. It's pretty straightforward when you'll see the current menu items.

The folders are here to group the topics together. Open for example the asset folder. You'll see it has its own README.md file. It is the main content when you click on the Asset menu item. The manage_assets.md file is a subitem. The media subfolder contains all the images used in the md files.

Links

Often you'll want to make a link into another place of the documentation. In Markdown, the link looks like this:

[link title](http://example.com)

This will create an external link with absolute URL. If you want to create an internal link, use the relative URL like this:

[these steps](./../plugins/integration_test.html)

This will link to plugins/integration_test.html on the documentation website created from the md source file.

Images

As noted above, the images can be placed in the media subfolders. The images probably isn't possible to upload via the GitHub web interface, but you can upload them to any public URL and link them from there.

![alternative text here](http://example.com/images/apple.png "Tooltip text here")

Or, if you'd want to display an image already uploaded to the documentation repository, you can use relative path:

![alternative text here](/assets/media/assets-newcategory.png "Tooltip text here")

About

Mautic End User Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.5%
  • CSS 4.1%
  • HTML 1.4%