Skip to content

Commit

Permalink
refactor: clean up and prepare for release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
André Kilchenmann committed Sep 25, 2018
1 parent 1b9c68c commit f70f307
Show file tree
Hide file tree
Showing 29 changed files with 83 additions and 311 deletions.
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

title: Dokumentado
url: https://lakto.github.io/dokumentado
version: v1.0.0-alpha
version: v1.0.0
baseurl:
google_analytics_key:
show_full_navigation: true
template: https://code.getmdl.io/1.3.0/material.blue_grey-amber.min.css
git:
name: Github
repository: Dokumentado
Expand Down Expand Up @@ -36,7 +37,7 @@ links:

# Values for the jekyll-seo-tag gem (https://github.com/jekyll/jekyll-seo-tag)
logo: assets/images/touch-icon.png
description: Dokumentado is a landing page and documentation template for Jekyll, useful for GitHub pages.
description: Documentation and landing page template for Jekyll, useful for GitHub pages.
author:
name: André Kilchenmann
email: [email protected]
Expand Down
14 changes: 14 additions & 0 deletions _docs/01-getting-started/configure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Configuration
category: Getting Started
order: 2
---

You have to configure your page settings in the `_config.yml` file. It should be self-explained.

### Structure
The template has several folders and files, which are important. For the landing page you have to use the `index.html` file.

The documentation files should be stored in `_docs` or in `_manual`. Each of the folder has a `_default.md` file template.

Posts of the category "news" are stored in `_posts`. The files inside of this folder should start with the date of format 'yyyy-mm-dd' and followed by the title.
29 changes: 11 additions & 18 deletions _docs/01-getting-started/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,22 @@ category: Getting Started
order: 1
---

We develop the Salsah app with Angular 6, especially with Angular-cli, which requires the following tools:
You can use this template by fork it from [Github](https://github.com/lakto/dokumentado) or to pull it from there. It's built with [Jekyll](http://jekyllrb.com/) version 3.3.1, but should support newer versions as well.

You have to be in the root directory of Dokumentado to install the dependencies as follow:

### Node
Install [Node](https://nodejs.org/en/download/) in version >=4 <=9. We recommend to use version 8.9.0.
~~~bash
$ bundle install
~~~

The easiest way to install node in the correct version is to use '[n](https://github.com/tj/n)'.
Run `jekyll` commands through Bundler to ensure you're using the right versions:

~~~bash
$ bundle exec jekyll serve
~~~

### Yarn (instead of npm)
By installing node, you get the node package manager (npm), which will be used for the app dependency management. But we recommend to use [yarn](https://yarnpkg.com/en/) instead of npm.
To see the generated site, just visit `http://localhost:4000`.

Install yarn by following the [instructions on their website](https://yarnpkg.com/en/docs/install).


### Angular-cli
To start the app or to create new components and services, you need [angular-cli](https://github.com/angular/angular-cli), which should be installed globally.

`$ yarn global add @angular/cli`

<!--
If there are some permission issues, try to fix the writing rights in node with `sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}`
-->

### [&rarr; Start the app]({{ site.baseurl }}/docs/01-getting-started/start/)
### [&rarr; Start the app]({{ site.baseurl }}/docs/01-getting-started/configure/)

28 changes: 0 additions & 28 deletions _docs/01-getting-started/start.md

This file was deleted.

13 changes: 0 additions & 13 deletions _docs/02-developer-docs/coding.md

This file was deleted.

32 changes: 0 additions & 32 deletions _docs/02-developer-docs/commit.md

This file was deleted.

109 changes: 0 additions & 109 deletions _docs/02-developer-docs/structure.md

This file was deleted.

5 changes: 0 additions & 5 deletions _features/01-data.md

This file was deleted.

5 changes: 5 additions & 0 deletions _features/01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Simple template
icon: thumb_up
---
Easy to use jekyll template to build landing pages and documentation on GitHub
5 changes: 0 additions & 5 deletions _features/02-share.md

This file was deleted.

5 changes: 5 additions & 0 deletions _features/02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Configurable
icon: build
---
Generic template, which needs only a few configuration steps.
5 changes: 0 additions & 5 deletions _features/03-search.md

This file was deleted.

5 changes: 5 additions & 0 deletions _features/03.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Customize
icon: brush
---
It's built with [Material Design Lite](https://getmdl.io/) and can be customized with own css theme builder.
5 changes: 0 additions & 5 deletions _features/04-history.md

This file was deleted.

5 changes: 0 additions & 5 deletions _features/05_access.md

This file was deleted.

5 changes: 0 additions & 5 deletions _features/06-web.md

This file was deleted.

2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

<!-- getMDL layout-->
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.teal-amber.min.css">
<link rel="stylesheet" href="{{site.template}}">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>

<!-- offline (developer) usage -->
Expand Down
6 changes: 6 additions & 0 deletions _manual/01-first-steps/example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Example page
category: Manual
order: 1
---
This is just an example page in the manual
6 changes: 0 additions & 6 deletions _manual/01-first-steps/project.md

This file was deleted.

6 changes: 0 additions & 6 deletions _manual/01-first-steps/user.md

This file was deleted.

15 changes: 0 additions & 15 deletions _posts/2018-03-28-pre-release.md

This file was deleted.

11 changes: 0 additions & 11 deletions _posts/2018-05-30-pre-release.md

This file was deleted.

15 changes: 0 additions & 15 deletions _posts/2018-06-30-release-1.6.0.md

This file was deleted.

Loading

0 comments on commit f70f307

Please sign in to comment.