regenerate docs with relative path

This commit is contained in:
cupcakearmy 2020-02-06 09:55:20 +01:00
parent 12f7c4594f
commit d1bdd22daa
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/main.1ca39266.css"><link rel="stylesheet" href="/main.b89d2493.css"></head><body> <div id="main" class="w-100 h-100"> <div> <h2 class="title is-2"><span>can</span>i<span>haz</span>username</h2> <input id="format" class="input is-rounded" type="text" placeholder="format" value="{character}_{english}"> <br><br> <button id="button" class="button is-link is-rounded">👇 Generate 👇</button> <br><br> <input id="username" class="input is-rounded" type="text" placeholder="" readonly=""> <br><br> <div class="content"> <a target="blank" href="https://github.com/cupcakearmy/canihazusername"> <button id="button" class="button is-link is-rounded">🔗 Github & Docs 🔗</button> </a> <br><br> <pre>yarn add canihazusername</pre> <pre>import { generate } from 'canihazusername' <!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="main.1ca39266.css"><link rel="stylesheet" href="main.b89d2493.css"></head><body> <div id="main" class="w-100 h-100"> <div> <h2 class="title is-2"><span>can</span>i<span>haz</span>username</h2> <input id="format" class="input is-rounded" type="text" placeholder="format" value="{character}_{english}"> <br><br> <button id="button" class="button is-link is-rounded">👇 Generate 👇</button> <br><br> <input id="username" class="input is-rounded" type="text" placeholder="" readonly=""> <br><br> <div class="content"> <a target="blank" href="https://github.com/cupcakearmy/canihazusername"> <button id="button" class="button is-link is-rounded">🔗 Github & Docs 🔗</button> </a> <br><br> <pre>yarn add canihazusername</pre> <pre>import { generate } from 'canihazusername'
generate('{character}_{english}')</pre> </div> <div class="content"> <h5 class="title is-5">Available lists</h5> <p id="lists"></p> </div> </div> </div> <script src="/main.280b3579.js"></script> generate('{character}_{english}')</pre> </div> <div class="content"> <h5 class="title is-5">Available lists</h5> <p id="lists"></p> </div> </div> </div> <script src="main.280b3579.js"></script>
</body></html> </body></html>

View File

@ -6,7 +6,7 @@
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"scripts": { "scripts": {
"generate": "git -C ./generate/wordlist pull && node ./generate/wordlist.js", "generate": "git -C ./generate/wordlist pull && node ./generate/wordlist.js",
"docs": "rm -r ./docs && parcel build --no-source-maps -d ./docs ./website/index.html", "docs": "rm -r ./docs && parcel build --no-source-maps --out-dir ./docs --public-url ./ ./website/index.html",
"build": "tsc", "build": "tsc",
"prepublishOnly": "npm run build && npm run test" "prepublishOnly": "npm run build && npm run test"
}, },