Browse Source

Here we go with Hugo.

jackyalcine 9 months ago
parent
commit
74db55c86b
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
21 changed files with 36 additions and 219 deletions
  1. 0
    3
      .buildpacks
  2. 0
    0
      .drone.yml
  3. 1
    5
      .gitignore
  4. 3
    0
      .gitmodules
  5. 0
    24
      404.html
  6. 0
    1
      CHECKS
  7. 0
    1
      DOKKU_SCALE
  8. 0
    16
      Gemfile
  9. 0
    77
      Gemfile.lock
  10. 0
    1
      Procfile
  11. 0
    5
      Rakefile
  12. 0
    9
      _config.yml
  13. 0
    25
      _posts/2019-03-19-welcome-to-jekyll.markdown
  14. 0
    18
      about.md
  15. 0
    7
      app.json
  16. 6
    0
      archetypes/default.md
  17. 4
    0
      config.toml
  18. 13
    0
      content/_index.md
  19. 8
    0
      content/docs/menu/index.md
  20. 0
    27
      index.md
  21. 1
    0
      themes/book

+ 0
- 3
.buildpacks View File

@@ -1,3 +0,0 @@
1
-https://github.com/heroku/heroku-buildpack-ruby
2
-https://git.jacky.wtf/me/dokku-buildpack-jekyll#develop
3
-https://github.com/heroku/heroku-buildpack-static

+ 0
- 0
.drone.yml View File


+ 1
- 5
.gitignore View File

@@ -1,5 +1 @@
1
-_site
2
-.sass-cache
3
-.jekyll-metadata
4
-bin/
5
-.bundle/config
1
+resources/

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
1
+[submodule "themes/book"]
2
+	path = themes/book
3
+	url = https://github.com/alex-shpak/hugo-book

+ 0
- 24
404.html View File

@@ -1,24 +0,0 @@
1
----
2
-layout: default
3
----
4
-
5
-<style type="text/css" media="screen">
6
-  .container {
7
-    margin: 10px auto;
8
-    max-width: 600px;
9
-    text-align: center;
10
-  }
11
-  h1 {
12
-    margin: 30px 0;
13
-    font-size: 4em;
14
-    line-height: 1;
15
-    letter-spacing: -1px;
16
-  }
17
-</style>
18
-
19
-<div class="container">
20
-  <h1>404</h1>
21
-
22
-  <p><strong>Page not found :(</strong></p>
23
-  <p>The requested page could not be found.</p>
24
-</div>

+ 0
- 1
CHECKS View File

@@ -1 +0,0 @@
1
-/ <html>

+ 0
- 1
DOKKU_SCALE View File

@@ -1 +0,0 @@
1
-web=1

+ 0
- 16
Gemfile View File

@@ -1,16 +0,0 @@
1
-source "https://rubygems.org"
2
-
3
-ruby '2.6.1'
4
-
5
-gem "puma"
6
-gem "jekyll", "~> 3.8.5"
7
-
8
-group :jekyll_plugins do
9
-  gem "just-the-docs"
10
-end
11
-
12
-gem 'rack'
13
-gem 'rake', '~> 10.0'
14
-
15
-gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
16
-gem "wdm", "~> 0.1.0" if Gem.win_platform?

+ 0
- 77
Gemfile.lock View File

@@ -1,77 +0,0 @@
1
-GEM
2
-  remote: https://rubygems.org/
3
-  specs:
4
-    addressable (2.6.0)
5
-      public_suffix (>= 2.0.2, < 4.0)
6
-    colorator (1.1.0)
7
-    concurrent-ruby (1.1.5)
8
-    em-websocket (0.5.1)
9
-      eventmachine (>= 0.12.9)
10
-      http_parser.rb (~> 0.6.0)
11
-    eventmachine (1.2.7)
12
-    ffi (1.10.0)
13
-    forwardable-extended (2.6.0)
14
-    http_parser.rb (0.6.0)
15
-    i18n (0.9.5)
16
-      concurrent-ruby (~> 1.0)
17
-    jekyll (3.8.5)
18
-      addressable (~> 2.4)
19
-      colorator (~> 1.0)
20
-      em-websocket (~> 0.5)
21
-      i18n (~> 0.7)
22
-      jekyll-sass-converter (~> 1.0)
23
-      jekyll-watch (~> 2.0)
24
-      kramdown (~> 1.14)
25
-      liquid (~> 4.0)
26
-      mercenary (~> 0.3.3)
27
-      pathutil (~> 0.9)
28
-      rouge (>= 1.7, < 4)
29
-      safe_yaml (~> 1.0)
30
-    jekyll-sass-converter (1.5.2)
31
-      sass (~> 3.4)
32
-    jekyll-watch (2.1.2)
33
-      listen (~> 3.0)
34
-    just-the-docs (0.1.6)
35
-      jekyll (~> 3.3)
36
-      rake (~> 10.0)
37
-    kramdown (1.17.0)
38
-    liquid (4.0.3)
39
-    listen (3.1.5)
40
-      rb-fsevent (~> 0.9, >= 0.9.4)
41
-      rb-inotify (~> 0.9, >= 0.9.7)
42
-      ruby_dep (~> 1.2)
43
-    mercenary (0.3.6)
44
-    pathutil (0.16.2)
45
-      forwardable-extended (~> 2.6)
46
-    public_suffix (3.0.3)
47
-    puma (3.12.1)
48
-    rack (2.0.6)
49
-    rake (10.5.0)
50
-    rb-fsevent (0.10.3)
51
-    rb-inotify (0.10.0)
52
-      ffi (~> 1.0)
53
-    rouge (3.3.0)
54
-    ruby_dep (1.5.0)
55
-    safe_yaml (1.0.5)
56
-    sass (3.7.3)
57
-      sass-listen (~> 4.0.0)
58
-    sass-listen (4.0.0)
59
-      rb-fsevent (~> 0.9, >= 0.9.4)
60
-      rb-inotify (~> 0.9, >= 0.9.7)
61
-
62
-PLATFORMS
63
-  ruby
64
-
65
-DEPENDENCIES
66
-  jekyll (~> 3.8.5)
67
-  just-the-docs
68
-  puma
69
-  rack
70
-  rake (~> 10.0)
71
-  tzinfo-data
72
-
73
-RUBY VERSION
74
-   ruby 2.6.1p33
75
-
76
-BUNDLED WITH
77
-   1.17.2

+ 0
- 1
Procfile View File

@@ -1 +0,0 @@
1
-web: bundle exec puma -C config/puma.rb

+ 0
- 5
Rakefile View File

@@ -1,5 +0,0 @@
1
-task default: %w[build]
2
-
3
-task :build do
4
-  `bundle exec jekyll build --destination _site`
5
-end

+ 0
- 9
_config.yml View File

@@ -1,9 +0,0 @@
1
-title: Koype Documentation
2
-email: support@koype.net
3
-baseurl: "/"
4
-url: "https://docs.koype.net"
5
-twitter_username: jekyllrb
6
-github_username:  jekyll
7
-
8
-markdown: kramdown
9
-theme: just-the-docs

+ 0
- 25
_posts/2019-03-19-welcome-to-jekyll.markdown View File

@@ -1,25 +0,0 @@
1
----
2
-layout: post
3
-title:  "Welcome to Jekyll!"
4
-date:   2019-03-19 19:44:03 -0700
5
-categories: jekyll update
6
----
7
-You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8
-
9
-To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
10
-
11
-Jekyll also offers powerful support for code snippets:
12
-
13
-{% highlight ruby %}
14
-def print_hi(name)
15
-  puts "Hi, #{name}"
16
-end
17
-print_hi('Tom')
18
-#=> prints 'Hi, Tom' to STDOUT.
19
-{% endhighlight %}
20
-
21
-Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
22
-
23
-[jekyll-docs]: https://jekyllrb.com/docs/home
24
-[jekyll-gh]:   https://github.com/jekyll/jekyll
25
-[jekyll-talk]: https://talk.jekyllrb.com/

+ 0
- 18
about.md View File

@@ -1,18 +0,0 @@
1
----
2
-layout: page
3
-title: About
4
-permalink: /about/
5
----
6
-
7
-This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
8
-
9
-You can find the source code for Minima at GitHub:
10
-[jekyll][jekyll-organization] /
11
-[minima](https://github.com/jekyll/minima)
12
-
13
-You can find the source code for Jekyll at GitHub:
14
-[jekyll][jekyll-organization] /
15
-[jekyll](https://github.com/jekyll/jekyll)
16
-
17
-
18
-[jekyll-organization]: https://github.com/jekyll

+ 0
- 7
app.json View File

@@ -1,7 +0,0 @@
1
-{
2
-  "scripts": {
3
-    "dokku": {
4
-      "predeploy": "bundle exec rake build"
5
-    }
6
-  }
7
-}

+ 6
- 0
archetypes/default.md View File

@@ -0,0 +1,6 @@
1
+---
2
+title: "{{ replace .Name "-" " " | title }}"
3
+date: {{ .Date }}
4
+draft: true
5
+---
6
+

+ 4
- 0
config.toml View File

@@ -0,0 +1,4 @@
1
+baseURL = "https://docs.koype.net"
2
+languageCode = "en-us"
3
+title = "Koype"
4
+theme = "book"

+ 13
- 0
content/_index.md View File

@@ -0,0 +1,13 @@
1
+---
2
+title: Introduce
3
+type: docs
4
+---
5
+
6
+# Koype
7
+
8
+> A self-hostable, single-tenant social Web engine.
9
+
10
+## Installing
11
+
12
+Currentlly, Koype does not come bundled for any particular operating system.
13
+In order to use it, you'll have to build it from sources.

+ 8
- 0
content/docs/menu/index.md View File

@@ -0,0 +1,8 @@
1
+---
2
+headless: true
3
+---
4
+
5
+- [Book Example](/docs/)
6
+  - [Page One](/docs/page-one)
7
+  - [Page Two](/docs/page-two)
8
+- [Blog](/posts)

+ 0
- 27
index.md View File

@@ -1,27 +0,0 @@
1
----
2
-layout: home
3
----
4
-
5
-# Welcome
6
-
7
-This site serves as a general hub of documentation for getting an
8
-instance of [Koype][] up and running. Feel free to submit patches for this site
9
-at <https://git.jacky.wtf/indieweb/koype-docs>.
10
-
11
-## Getting Started
12
-
13
-### Production
14
-
15
-Koype has the following requirements when running:
16
-
17
-* Elixir (1.7.0 or newer)
18
-
19
-### Development
20
-
21
-Koype has the following requirements when being hacked on:
22
-
23
-* Elixir (1.7.0)
24
-* SQLite libraries
25
-* NodeJS
26
-
27
-[koype]: https://koype.net

+ 1
- 0
themes/book

@@ -0,0 +1 @@
1
+Subproject commit fdc6fdd2de1bcb5a891fd3e76c7d4cacb596ee09

Loading…
Cancel
Save