Skip to content

Commit c6c0f53

Browse files
committed
feat: new geocoder site
1 parent b6d6361 commit c6c0f53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+51592
-1818
lines changed

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
_site
2-
/Gemfile.lock
1+
/build_local/
2+
/build_staging/
3+
/build_production/
4+
/build_staging/
5+
/node_modules/
6+
/vendor/
7+
.DS_Store

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

Gemfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) <Matt Stauffer, Anthony Terrell, Keith Damiani>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
The Geocoder Website
2-
====================
1+
# Geocoder Site
32

4-
[![Build
5-
Status](https://travis-ci.org/geocoder-php/geocoder-php.github.io.png)](https://travis-ci.org/geocoder-php/geocoder-php.github.io)
3+
Documentation site for the Geocoder Library
4+
5+
## Building
6+
7+
```bash
8+
# build static files with Jigsaw
9+
./vendor/bin/jigsaw build
10+
11+
# compile assets with Laravel Mix
12+
# options: dev, staging, production
13+
npm run dev
14+
```

_config.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

_layouts/cookbook.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

_layouts/default.html

Lines changed: 0 additions & 84 deletions
This file was deleted.

_layouts/home.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

_layouts/project.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

bootstrap.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
use App\Listeners\GenerateSitemap;
4+
use Mni\FrontYAML\Markdown\MarkdownParser;
5+
use TightenCo\Jigsaw\Jigsaw;
6+
use TightenCo\Jigsaw\Parsers\ParsedownExtraParser;
7+
8+
/** @var $container \Illuminate\Container\Container */
9+
/** @var $events \TightenCo\Jigsaw\Events\EventBus */
10+
11+
/**
12+
* You can run custom code at different stages of the build process by
13+
* listening to the 'beforeBuild', 'afterCollections', and 'afterBuild' events.
14+
*
15+
* For example:
16+
*
17+
* $events->beforeBuild(function (Jigsaw $jigsaw) {
18+
* // Your code here
19+
* });
20+
*/
21+
22+
$events->beforeBuild(\App\Extend\DocumentationImporter::class);
23+
$events->afterCollections(\App\Extend\UpdateProviderNavigation::class);
24+
25+
$events->afterBuild(GenerateSitemap::class);
26+
27+
$container->bind(MarkdownParser::class, \App\Extend\HeaderIdMarkdownParser::class);

composer.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"require": {
3+
"tightenco/jigsaw": "^1.3",
4+
"tightenco/jigsaw-docs-template": "^1.0",
5+
"samdark/sitemap": "^2.2",
6+
"symfony/process": "^4.3"
7+
},
8+
"autoload": {
9+
"psr-4": {
10+
"App\\Extend\\": "extend/",
11+
"App\\Listeners\\": "listeners/"
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)