Skip to content

Commit

Permalink
Migrated documentation to Hugo
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Garcia <ragboyjr@icloud.com>
  • Loading branch information
ragboyjr committed Dec 24, 2020
1 parent 976d1ab commit 69f5bf7
Show file tree
Hide file tree
Showing 45 changed files with 349 additions and 595 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build
composer.lock
vendor
doc/_site
doc/_data/versions.yml
doc/public
doc/data/versions.json
.generated
.phpunit.result.cache
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ We accept contributions via Pull Requests on [Github](https://github.com/thephpl
``` bash
$ phpunit
```

## Docs

Docs are served with hugo running on version 0.79 or later.

You can view the docs locally with `hugo -s doc server`

**Happy coding**!
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Please see [CONTRIBUTING](https://github.com/thephpleague/plates/blob/master/CON

## Security

If you discover any security related issues, please email rj@bighead.net instead of using the issue tracker.
If you discover any security related issues, please email ragboyjr@icloud.com instead of using the issue tracker.

## Credits

Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"name": "RJ Garcia",
"email": "rj@bighead.net",
"email": "ragboyjr@icloud.com",
"role": "Developer"
}
],
Expand Down Expand Up @@ -46,6 +46,7 @@
}
},
"scripts": {
"test": "phpunit"
"test": "phpunit --testdox",
"docs": "hugo -s doc server"
}
}
2 changes: 0 additions & 2 deletions doc/Gemfile

This file was deleted.

238 changes: 0 additions & 238 deletions doc/Gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions doc/_data/images.yml

This file was deleted.

25 changes: 0 additions & 25 deletions doc/_data/menu.yml

This file was deleted.

4 changes: 0 additions & 4 deletions doc/_data/project.yml

This file was deleted.

Loading

0 comments on commit 69f5bf7

Please sign in to comment.