Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
📝 Set up Githup pages with docsify
Browse files Browse the repository at this point in the history
📝 Set up HTML-from-markdown website using docsify

🚚 Move /assets into /docs

✏️ Add dependencies to CONTRIBUTING.md

🎨 Change General Assumptions items from headers to a list, add download link beneath title

🔥 Remove Jekyll
  • Loading branch information
rubiefawn committed Sep 8, 2019
1 parent 568cc9b commit f4fe58e
Show file tree
Hide file tree
Showing 10 changed files with 113 additions and 45 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### Dependencies
- [Twemoji](https://github.com/twitter/twemoji)
- [docsify](https://docsify.js.org/#/?id=docsify)
- [docsify full text search](https://docsify.js.org/#/plugins?id=full-text-search)
- [docsify-plugin-flexible-alerts](https://github.com/zanfab/docsify-plugin-flexible-alerts)
- [docsify-tabs](https://github.com/jhildenbiddle/docsify-tabs)

### Git Commit Messages

- Use the present tense ("Add feature" not "Added feature")
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![Dromissium logo](assets/icon.svg) Dromissium
# ![Dromissium logo](/assets/icon.svg) Dromissium
[![Current release](https://img.shields.io/github/v/release/iansannar/dromissium?include_prereleases&logo=Adobe-Acrobat-Reader&logoColor=white)](https://github.com/iansannar/dromissium/releases)
![Overall downloads on Github](https://img.shields.io/github/downloads/iansannar/dromissium/total)
[![Last commit on Github](https://img.shields.io/github/last-commit/iansannar/dromissium?logo=Github&logoColor=white)](https://github.com/iansannar/dromissium/commits/master)
Expand All @@ -7,3 +7,4 @@
A table-top roleplaying game with simple underlying rules, allowing easy DIY expansion and modularity for the Storyteller and ease of understanding for the new player.

Race homebrew guide: http://bit.ly/homebrew-race

Empty file added docs/.nojekyll
Empty file.
1 change: 0 additions & 1 deletion docs/_config.yml

This file was deleted.

Binary file added docs/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
98 changes: 55 additions & 43 deletions core.md → docs/core.md

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dromissium</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Dromissium TTRPG Online Rulebook">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
<link rel="icon" href="assets/favicon.png">
<style>
:root {
--docsifytabs-tab-highlight-color: grey;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
homepage: 'core.md',
name: 'Dromissium',
relativePath: true,
maxLevel: 3,

search: {
hideOtherSidebarContent: true,
maxAge: 86400000,
paths: [ '/' ],
placeholder: 'Search',
noData: 'No Results.'
},

tabs: {
persist: true,
sync: true,
theme: 'classic',
tabComments: true,
tabHeadings: true
}
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- plugins -->
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
</body>
</html>

0 comments on commit f4fe58e

Please sign in to comment.