<commit_before>---
title: Single Repository
author: torabisu
roles: Developer
---

Presidium does not have to be hosted in a repository of its own.  It can exist within your software project in a 
sub folder, e.g. `/docs`

## Getting Presidium

The easiest way to incorpate Presidium into your project is to get the latest archived version from [https://github.com/SPANDigital/presidium-template/archive/master.zip](https://github.com/SPANDigital/presidium-template/archive/master.zip) and uncompressing it into your projects empty /docs folder.  If you wish to clone the project instead
just make sure you remove the .git folder from docs/ as we want your application repo to manage
the docs/ folder and not the presidium template repo.

The contents of your docs/ folder should look something like this:

```bash
LICENSE
NOTICE
README.md
_config.yml
content/
dist/
media/
package.json
```

Add the following to your project's `.gitignore` file:

```bash
$ echo "docs/node_modules/" >> .gitignore
$ echo "docs/.jekyll/" >> .gitignore
$ echo "docs/dist/" >> .gitignore
```

From this point onwards you can follow the getting started guide, where your documentation root is simply in `/docs`<commit_msg>Add .versions to .gitignore. Minor edits to recipe.<commit_after>---
title: Single Repository
author: torabisu
roles: Developer
---

Presidium does not have to be hosted in a repository of its own.  It can exist within your software project in a 
sub folder, e.g. `/docs`

## Getting Presidium

The easiest way to incorporate Presidium into your project is to get the [latest archived version](https://github.com/SPANDigital/presidium-template/archive/master.zip) and uncompress it into your project's empty `/docs` folder.  If you wish to clone the project instead,
be sure to remove the `.git` folder from `docs/` after cloning as your project repo will manage
the `docs/` folder and **not** the presidium template repo.

The contents of your `docs/` folder should look something like this:

```bash
LICENSE
NOTICE
README.md
_config.yml
content/
dist/
media/
package.json
```

Add the following to your project's `.gitignore` file:

```bash
$ echo "docs/node_modules/" >> .gitignore
$ echo "docs/.jekyll/" >> .gitignore
$ echo "docs/dist/" >> .gitignore
$ echo "docs/dist/.versions" >> .gitignore
```

From this point onwards you can follow the getting started guide, where your documentation root is simply in `/docs`.
{'fraction_non_alphanumeric': 0.09492364836978952, 'fraction_numerical': 0.0, 'mean_word_length': 4.201716738197425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6642869', 'n_tokens_mistral': 717, 'n_tokens_neox': 679, 'n_words': 316}