Skip to content
Snippets Groups Projects
Commit a3362299 authored by Sean Madsen's avatar Sean Madsen
Browse files

Fix several broken internal links

parent 19098aeb
No related branches found
No related tags found
No related merge requests found
......@@ -80,19 +80,19 @@ Getting started with unit-testing may seem daunting and onerous when you start,
but you will soon come to love the freedom it gives you. If you are
unsure how to proceed with testing ask the [community](/basics/community).
**Create a native [extension](/extensions/basics)**.
**Create a native [extension](/extensions/index.md)**.
If you have new functionality to add to CiviCRM, it probably belongs in an
extension. "Native" extensions will install into all CiviCRM sites
regardless of the underlying CMS used (Drupal or Wordpress), making it easy to
share your extension with the CiviCRM community.
**Use the [API](/api/general) and [hooks](/hook)** to access and manage CiviCRM data in any patch,
**Use the [API](/api/index.md) and [hooks](/hooks/index.md)** to access and manage CiviCRM data in any patch,
native extension, CMS module, or external program that you
develop. The API will function as expected with every new release
and backwards compatibility of the API is maintained for several
versions of CiviCRM.
**Avoid [hacking the core](/core/hacking)** of CiviCRM unless you understand
**Avoid [hacking the core](/core/hacking.md)** of CiviCRM unless you understand
the implications.
**Follow the
......
# How to document your extension
So you've written an [extension](/extensions/basics). Awesome! Now you want to add some documentation to help people use it. Great! Maybe you even want some docs for other *developers* working on it too. Very good. This page will help you set up your own documentation *guide* (just like this Developer Guide) for your extension.
So you've written an [extension](/extensions/index.md). Awesome! Now you want to add some documentation to help people use it. Great! Maybe you even want some docs for other *developers* working on it too. Very good. This page will help you set up your own documentation *guide* (just like this Developer Guide) for your extension.
!!! summary "Example"
For a fully-featured working example of extensions documentation, look at CiviVolunteer.
......@@ -16,7 +16,7 @@ So you've written an [extension](/extensions/basics). Awesome! Now you want to a
Basically how this works is:
1. You use the git repo for your extension to store its documentation.
* You store the content in [markdown](/markdownrules) files within a `docs` directory in your project.
* You store the content in [markdown](/documentation/markdown.md) files within a `docs` directory in your project.
* You use git branches just like you normally would, with that `docs` directory sitting there in every branch.
* You put one file at the root level of your project, `mkdocs.yml` to configure some of the high-level details of your book.
* You use MkDocs locally to preview your guide.
......@@ -63,7 +63,7 @@ When creating a docs guide, you have two options for how to deal with your READM
With this option, you basically keep documentation content in the README file, and create an MkDocs guide directly from that file. The content remains on GitHub when people visit your repo, and it also gets published on docs.civicrm.org — and you only have to edit it in one place. The downside is that you have to fit everything into one page.
1. Make sure you're using [markdown](/markdownrules) formatting within the README file, and make sure the file is named `README.md`.
1. Make sure you're using [markdown](/documentation/markdown.md) formatting within the README file, and make sure the file is named `README.md`.
1. Create an MkDocs index file which is a symbolic link to your README file:
```
......@@ -84,14 +84,14 @@ With this option you have a very small README file and a separate MkDocs guide w
## Add content
Add some [markdown](/markdownrules) content in `docs/index.md`.
Add some [markdown](/documentation/markdown.md) content in `docs/index.md`.
Now you should be able to run `mkdocs serve` from within your project directory to start previewing your content. See [instructions here](/documentation/#editing-locally-with-mkdocs) to get MkDocs set up.
Now you should be able to run `mkdocs serve` from within your project directory to start previewing your content. See [instructions here](/documentation/index.md#mkdocs) to get MkDocs set up.
You can add more pages by creating more markdown files and specifying these files under `pages` in `mkdocs.yml`.
!!! note
We have [markdown code standards](/markdownrules/#standards) and a documentation [style guide](/best-practices/documentation-style-guide/). Adherence to these rules within your extensions docs is recommended but not required.
We have [markdown code standards](/documentation/markdown.md#standards) and a documentation [style guide](/documentation/style-guide.md). Adherence to these rules within your extensions docs is recommended but not required.
## Submit your guide to our publishing system {:#submit}
......
......@@ -592,7 +592,7 @@ See this (somewhat outdated) [wiki page](https://wiki.civicrm.org/confluence/dis
### Add an API function {:#generate-api}
The [CiviCRM API](/api/general)
The [CiviCRM API](/api/index.md)
provides a way to expose functions for use by other developers. API
functions allow implementing AJAX interfaces (using the
cj().crmAPI() helper), and they can also be called via REST, PHP,
......
......@@ -82,7 +82,7 @@ it is very helpful to look inside those objects (especially `$objectRef`) to
make sure you're getting what you expect.
A good debugger is indispensable here. See the
[page on debugging](/dev-tools/debugging/) for more information on setting up
[page on debugging](/tools/debugging.md) for more information on setting up
a debugger for your development environment.
!!! warning
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment