diff --git a/_includes/donate.html b/_includes/donate.html
deleted file mode 100644
index 33e6183..0000000
--- a/_includes/donate.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
Part Templates
-There are various purposes for using part templates, among them:
-* template parts can hold information that can be re-used across “variants”, a template part could be useful for creating a base variant of an assembly which can be derived from, with BoM changes for instance
-*
-“Variants” parts will reference the “Template” part therefore explicitly creating and showing direct relationship.
-They also allow you to do special things like:
-* Serial Numbers
-Parts that are linked in a template / variant relationship must have unique serial numbers. e.g. if you have a template part Widget, and two variants Widget-01 and Widget-02 then any assigned serial numbers must be unique across all these variants.
-Stock Reporting
-The “stock” for a template part includes stock for all variants under that part
-Logical Grouping
-The template / variant relationship is subtly different to the category / part relationship
-Create Variant
-When a part’s Template option is turned-on, “Variants” of this part can be created.
-To create a variant, navigate to a specific part detail page, click on the “Variants” tab then click on the “New Variant” button.
-The Create Variant
form will be displayed:
-{% with id=”create_part_variant”, url=”part/create_part_variant.png”, description=”Create Part Variant Form” %}
-{% include ‘img.html’ %}
\ No newline at end of file
diff --git a/docs/part/template.md b/docs/part/template.md
index 4dfaca8..407f406 100644
--- a/docs/part/template.md
+++ b/docs/part/template.md
@@ -1,6 +1,5 @@
---
title: Part Templates
-layout: page
---
## Part Templates
diff --git a/docs/part/test.md b/docs/part/test.md
index a029594..fcb1e12 100644
--- a/docs/part/test.md
+++ b/docs/part/test.md
@@ -1,6 +1,5 @@
---
title: Part Test Templates
-layout: page
---
## Part Test Templates
diff --git a/docs/part/views.md b/docs/part/views.md
index cf10b7f..046227b 100644
--- a/docs/part/views.md
+++ b/docs/part/views.md
@@ -1,6 +1,5 @@
---
title: Part Views
-layout: page
---
The Part information page organizes part data into sections, displayed as tabs.
diff --git a/docs/report/labels.md b/docs/report/labels.md
index 7016577..90fa71b 100644
--- a/docs/report/labels.md
+++ b/docs/report/labels.md
@@ -1,6 +1,5 @@
---
title: Custom Labels
-layout: page
---
## Custom Labels
diff --git a/docs/report/order.md b/docs/report/order.md
index 6281499..cfec047 100644
--- a/docs/report/order.md
+++ b/docs/report/order.md
@@ -1,6 +1,5 @@
---
title: Order Report
-layout: page
---
## Order Report
diff --git a/docs/report/pack.md b/docs/report/pack.md
index c0dde81..dc5b315 100644
--- a/docs/report/pack.md
+++ b/docs/report/pack.md
@@ -1,6 +1,5 @@
---
title: Packing List Report
-layout: page
---
## Packing List
diff --git a/docs/report/report.md b/docs/report/report.md
index 222d0a2..2a1bc0c 100644
--- a/docs/report/report.md
+++ b/docs/report/report.md
@@ -1,6 +1,5 @@
---
title: Report Generation
-layout: page
---
## Custom Reporting
diff --git a/docs/report/test.md b/docs/report/test.md
index 72739e1..3e3ceee 100644
--- a/docs/report/test.md
+++ b/docs/report/test.md
@@ -1,6 +1,5 @@
---
title: Test Report
-layout: page
---
## Test Report
diff --git a/docs/start/config.md b/docs/start/config.md
index 2f631df..f143e36 100644
--- a/docs/start/config.md
+++ b/docs/start/config.md
@@ -1,6 +1,5 @@
---
title: Database Configuration
-layout: page
---
## Database Configuration
diff --git a/docs/start/deploy.md b/docs/start/deploy.md
index 7f55488..c0e6677 100644
--- a/docs/start/deploy.md
+++ b/docs/start/deploy.md
@@ -1,6 +1,5 @@
---
title: Deploy InvenTree
-layout: page
---
## Deploying InvenTree
diff --git a/docs/start/install.md b/docs/start/install.md
index 9e7bea2..b7e55ff 100644
--- a/docs/start/install.md
+++ b/docs/start/install.md
@@ -1,6 +1,5 @@
---
title: Install InvenTree
-layout: page
---
## Introduction
diff --git a/docs/start/migrate.md b/docs/start/migrate.md
index 6619652..f4d39ee 100644
--- a/docs/start/migrate.md
+++ b/docs/start/migrate.md
@@ -1,6 +1,5 @@
---
title: Migrating Data
-layout: page
---
## Migrating Data
diff --git a/docs/start/themes.md b/docs/start/themes.md
index 41719df..d1081b8 100644
--- a/docs/start/themes.md
+++ b/docs/start/themes.md
@@ -1,6 +1,5 @@
---
title: Changing color theme
-layout: page
---
## Color Themes
diff --git a/docs/start/update.md b/docs/start/update.md
index fab61b2..c288596 100644
--- a/docs/start/update.md
+++ b/docs/start/update.md
@@ -1,6 +1,5 @@
---
title: Update InvenTree
-layout: page
---
## Update InvenTree
diff --git a/docs/stock/adjust.md b/docs/stock/adjust.md
index 6d95a19..be1d1da 100644
--- a/docs/stock/adjust.md
+++ b/docs/stock/adjust.md
@@ -1,6 +1,5 @@
---
title: Stock Adjustments
-layout: page
---
## Stock Adjustments
diff --git a/docs/stock/stock.md b/docs/stock/stock.md
index be49442..72e1471 100644
--- a/docs/stock/stock.md
+++ b/docs/stock/stock.md
@@ -1,6 +1,5 @@
---
title: Stock
-layout: page
---
## Stock Location
diff --git a/docs/stock/stocktake.md b/docs/stock/stocktake.md
index 3294c09..6054b98 100644
--- a/docs/stock/stocktake.md
+++ b/docs/stock/stocktake.md
@@ -1,6 +1,5 @@
---
title: Stocktake
-layout: page
---
## Stocktake
diff --git a/docs/stock/test.md b/docs/stock/test.md
index 72a36f0..cea7b9e 100644
--- a/docs/stock/test.md
+++ b/docs/stock/test.md
@@ -1,6 +1,5 @@
---
title: Stock Test Result
-layout: page
---
## Stock Test Result
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
index a9be42e..f483bbe 100644
--- a/docs/stylesheets/extra.css
+++ b/docs/stylesheets/extra.css
@@ -1,3 +1,4 @@
+/* Image "popping" feature */
.overlay {
/* Display over the entire page */
position: fixed;
@@ -44,4 +45,26 @@
.overlay:target img {
transform: scale(1);
+}
+
+/* Add icon after external links */
+/* Ignore auto-generated material theme links */
+a[target="_blank"]:not([class*="md-"]):after {
+/* content: " " url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(123,136,204)' d='M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z' /%3E%3C/svg%3E%0A");*/
+ content: " " url('../assets/open-in-new-custom.svg');
+}
+
+/* Set text alignment to "justify" */
+p {
+ text-align: justify;
+}
+
+/* Remove page title */
+.md-content h1:first-child {
+ display: none;
+}
+
+/* Remove top margin for first h2 header */
+.md-typeset h2:first-of-type {
+ margin-top: 0em;
}
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
index d07c89e..9fb4f92 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -19,10 +19,12 @@ theme:
icon:
repo: fontawesome/brands/github
features:
- - instant
- tabs
+edit_uri: "" # Disable "Edit" button
extra_css:
- stylesheets/extra.css
+extra_javascript:
+ - javascripts/extra.js
# Navigation
nav:
@@ -39,7 +41,7 @@ nav:
- Parts: part/part.md
- Part Views: part/views.md
- Parameters: part/parameter.md
- - Template Parts: part/template.md
+ - Templates: part/template.md
- Tests: part/test.md
- Stock:
- Stock Items: stock/stock.md
@@ -48,7 +50,7 @@ nav:
- Test Results: stock/test.md
- Build:
- Build Parts: build/build.md
- - BOM: build/bom.md
+ - Bill of Materials (BOM): build/bom.md
- Buy:
- Suppliers: buy/supplier.md
- Purchase Orders: buy/po.md
@@ -77,8 +79,14 @@ plugins:
# Extensions
markdown_extensions:
- admonition
+ - attr_list
+ - meta
- pymdownx.details
- - markdown.extensions.codehilite
+ - pymdownx.highlight
+ - pymdownx.superfences
+ - pymdownx.emoji:
+ emoji_index: !!python/name:materialx.emoji.twemoji
+ emoji_generator: !!python/name:materialx.emoji.to_svg
- toc:
permalink: ⚓