mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Now opening external links in new tab (added little icon), started build documentation
This commit is contained in:
parent
c08ec0a2a4
commit
5ae5e518bc
3
docs/assets/open-in-new-custom.svg
Normal file
3
docs/assets/open-in-new-custom.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24">
|
||||||
|
<path 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" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 260 B |
23
docs/build/build.md
vendored
23
docs/build/build.md
vendored
@ -5,5 +5,28 @@ layout: page
|
|||||||
|
|
||||||
## Building Parts
|
## Building Parts
|
||||||
|
|
||||||
|
Build management can be accessed via the *Build* navigation tab.
|
||||||
|
|
||||||
|
A "basic" build flow is as follow:
|
||||||
|
|
||||||
|
1. create a part with the [*Assembly option*](/part/views/#part-options) turned-on
|
||||||
|
0. add a Bill of Material (BOM)
|
||||||
|
0. create a "Build Order" for this part
|
||||||
|
0. allocate stocks from your inventory
|
||||||
|
0. update build status and notes
|
||||||
|
0. complete the build.
|
||||||
|
|
||||||
|
##### Future Features
|
||||||
|
|
||||||
|
| Feature | Status |
|
||||||
|
| ----------- | ------------------------------------ |
|
||||||
|
| Edit completed build | :material-progress-clock: [Work In Progress](https://github.com/inventree/InvenTree/pull/993) |
|
||||||
|
| Track subparts | :material-progress-clock: [Work In Progress](https://github.com/inventree/InvenTree/pull/991) |
|
||||||
|
| Partial builds | :material-close: Not yet supported |
|
||||||
|
|
||||||
|
### Part BOM
|
||||||
|
|
||||||
|
Read through the [Bill of Materials documentation](/build/bom) to setup a part BOM before creating a "Build Order".
|
||||||
|
|
||||||
!!! missing "TODO"
|
!!! missing "TODO"
|
||||||
This section requires further work
|
This section requires further work
|
||||||
|
7
docs/javascripts/extra.js
Normal file
7
docs/javascripts/extra.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/* Add target="_blank" to external links */
|
||||||
|
/* Source: https://html.com/attributes/a-target/#:~:text=browser */
|
||||||
|
function externalLinks() {
|
||||||
|
for(var c = document.getElementsByTagName("a"), a = 0;a < c.length;a++) {
|
||||||
|
var b = c[a]; b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank")
|
||||||
|
}
|
||||||
|
} ; externalLinks();
|
@ -44,4 +44,12 @@
|
|||||||
|
|
||||||
.overlay:target img {
|
.overlay:target img {
|
||||||
transform: scale(1);
|
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');
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -19,10 +19,11 @@ theme:
|
|||||||
icon:
|
icon:
|
||||||
repo: fontawesome/brands/github
|
repo: fontawesome/brands/github
|
||||||
features:
|
features:
|
||||||
- instant
|
|
||||||
- tabs
|
- tabs
|
||||||
extra_css:
|
extra_css:
|
||||||
- stylesheets/extra.css
|
- stylesheets/extra.css
|
||||||
|
extra_javascript:
|
||||||
|
- javascripts/extra.js
|
||||||
|
|
||||||
# Navigation
|
# Navigation
|
||||||
nav:
|
nav:
|
||||||
@ -79,6 +80,9 @@ markdown_extensions:
|
|||||||
- admonition
|
- admonition
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- markdown.extensions.codehilite
|
- markdown.extensions.codehilite
|
||||||
|
- pymdownx.emoji:
|
||||||
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
||||||
|
emoji_generator: !!python/name:materialx.emoji.to_svg
|
||||||
- toc:
|
- toc:
|
||||||
permalink: ⚓
|
permalink: ⚓
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user