update tildeteam/wiki to 1.0
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2021-03-20 13:11:24 -04:00
parent 6931caa719
commit b9f78639c0
3 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{ {
"require": { "require": {
"tildeteam/wiki": "^0.1.0" "tildeteam/wiki": "^1.0.0"
} }
} }

13
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "3779848aa146daecd3839d2d90aab35b", "content-hash": "21b797601a3035a039996278b8e9b035",
"packages": [ "packages": [
{ {
"name": "erusev/parsedown", "name": "erusev/parsedown",
@ -348,20 +348,23 @@
}, },
{ {
"name": "tildeteam/wiki", "name": "tildeteam/wiki",
"version": "0.1.0", "version": "1.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://tildegit.org/team/tildewiki", "url": "https://tildegit.org/team/tildewiki",
"reference": "accb34f9648c7137a605df77b66d2dab570d81ca" "reference": "519497aa9ed64b5f614a544d98096e448b8860e2"
}, },
"require": { "require": {
"erusev/parsedown-extra": "^0.8.1", "erusev/parsedown-extra": "^0.8.1",
"mnapoli/front-yaml": "^1.8.0" "mnapoli/front-yaml": "^1.8.0"
}, },
"require-dev": {
"phpunit/phpunit": "^9.5"
},
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"tildeteam\\wiki\\": "src/" "tildeteam\\": "src/"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -382,7 +385,7 @@
"markdown", "markdown",
"wiki" "wiki"
], ],
"time": "2021-03-17T04:21:38+00:00" "time": "2021-03-17T16:29:47+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

View File

@ -1,7 +1,9 @@
<?php <?php
include __DIR__."/../vendor/autoload.php"; include __DIR__."/../vendor/autoload.php";
use tildeteam\wiki;
$parser = tildeteam\wiki\Parser::factory(); $parser = wiki::factory();
wiki::$bootstrap = wiki::$forkawesome = true;
if (isset($_GET["slug"])) { if (isset($_GET["slug"])) {
$entry_name = $_GET["slug"]; $entry_name = $_GET["slug"];