Skip to content

Commit

Permalink
Initial GitHub pages site with Jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwero committed Jan 13, 2025
1 parent 24fbf2c commit e5e1f26
Show file tree
Hide file tree
Showing 18 changed files with 244 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
Gemfile.lock
25 changes: 25 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
layout: default
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
34 changes: 34 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", "~> 4.3.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
gem "just-the-docs"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", "~> 232", group: :jekyll_plugins
# If you have any plugins, put them here!
# group :jekyll_plugins do
# gem "jekyll-feed", "~> 0.12"
# end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
58 changes: 58 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: AusMap User Manual
#email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
User manual for the AusMap QGIS plugin.
# baseurl: "" # the subpath of your site, e.g. /blog
url: https://wms-engineering.github.io/AusMap/ # the base hostname & protocol for your site, e.g. http://example.com
# twitter_username: jekyllrb
# github_username: jekyll

# Build settings
theme: just-the-docs
# plugins:
# - jekyll-feed

logo: "/assets/images/icon.png"
favicon_ico: "/assets/images/icon.ico"

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
exclude:
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/

nav_enabled: true
Binary file added docs/assets/images/ausmap-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/grouped-layers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/menu-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/new_layers_in_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/options-dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/save-qlr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/bug-reports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: page
title: Bug Reports and Feature Requests
permalink: /issues/
nav_order: 5
---

# Bug Reports and Feature Requests

If you encounter any bugs or have feature requests, please feel free to create an issue in our GitHub repository. We appreciate your feedback!
24 changes: 24 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: page
title: Getting Started
permalink: /getting-started/
nav_order: 3
---

# Getting Started

## Adding Map Layers

Once installed, the AusMap plugin appears in the menu bar.

![QGIS menu bar](/assets/images/menu-bar.png)

The available map layers are arranged in alphabetically ordered categories.

![Ausmap menu](/assets/images/ausmap-menu.png)

## Search Functionality

You can search for the layer names provided by the AusMap plugin by using the locator bar in the bottom left corner of the QGIS interface. Clicking on a layer in the search results will add it to the map canvas.

![Locator bar](/assets/images/search.png)
14 changes: 14 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults

layout: page
title: Introduction
permalink: /
---

# Introduction

AusMap is a QGIS plugin for visualising publicly available Australian geographic data. It gives quick access to a variety of feature sets and map layers provided by Geoscience Australia, the Google Maps Platform and OpenStreetMap. Selecting a desired layer from the AusMap menu will add it to the map canvas with styling and labelling applied. The layers are provided via WMS, WFS, WMTS and XYZ services, which all require an active internet connection.

This manual will guide you through the installation, configuration and use of the plugin.
26 changes: 26 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: page
title: Installation
permalink: /installation/
nav_order: 2
---

# Installation

## Requirements

- QGIS version 3.18 or higher
- Internet access for fetching online map layer web services

## Installation through QGIS

1. Open QGIS.
2. Navigate to **Plugins** > **Manage and Install Plugins**.
3. Search for *AusMap*.
4. Click the **Install** button.

## Manual Installation through GitHub

1. Download the ZIP file from the GitHub repository.
2. In QGIS, navigate to **Plugins** > **Manage and Install Plugins**.
3. Click **Install from ZIP** and select the downloaded plugin file.
12 changes: 12 additions & 0 deletions docs/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: page
title: Credits and License
permalink: /license/
nav_order: 6
---

# Credits and License

AusMap is developed and maintained by WMS Engineering and is licensed under the GNU General Public License (GPL) v3.0 or later. You are free to use, modify, and distribute this plugin under the terms of the [GNU GPL](https://www.gnu.org/licenses/) as published by the Free Software Foundation. This plugin is distributed in the hope that it will be useful, but without any warranty. See the GNU GPL for more details.

The design and functionality of AusMap draw inspiration from the [Dataforsyningen QGIS plugin](https://github.com/SDFIdk/Qgis-dataforsyningen). The map layers are provided by [Geoscience Australia](https://services.ga.gov.au/), the Google Maps Platform, and OpenStreetMap.
35 changes: 35 additions & 0 deletions docs/settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: page
title: Settings
permalink: /settings/
nav_order: 4
---

# Settings

The AusMap plugin can be extended with additional map layers saved in a Layer Definition File (QLR). The map layers in this file will be added to the AusMap menu and therefore easily accessible.

The QLR file must match the AusMap menu layout, meaning that the map layers must be grouped into one or more categories.

See the example below.

## Example

The additional layers 1, 2 and 3 are grouped into two categories.

![Grouped map layers](/assets/images/grouped-layers.png)

Save the layers in a QLR file by selecting the groups, right-clicking, and choosing **Export** > **Save as Layer Definition File**.

![Save QLR](/assets/images/save-qlr.png)

Navigate to the AusMap page in the options dialog (**Settings** > **Options** > **AusMap**), select the QLR file from your local machine and click **OK**.

![AusMap options dialog](/assets/images/options-dialog.png)

The additional map layers will now appear in their respective groups inside the AusMap menu.

![Custom layers in menu](/assets/images/new_layers_in_menu.png)

To remove the layers from the menu, go back to the options dialog, delete the file path and save.

0 comments on commit e5e1f26

Please sign in to comment.