specter-desktop/utils/mkdocs-wrapper.sh
relativisticelectron 669d0f566a
Feature: Multisig beginner guide (#1731)
* Added pictures

* Added text

* wrote more in the guide

* Added links to vendors websites

* Added more links

* Added fingerprints in fig

* added links ot other guides

* Improved arrows

* Added links

* Better sub-bullets

* Changed the Testing part

* typos

* Chore: Adjusted releasing process and adding liquidissuer  (#1716)

* refactor build-linux to avoid build-ci.sh

* adding set_setup_py_version to release_helper

* yet another tiny release-helper

* adjusted for win-compatibility

* fix windows build again

* fix directory-change

* part2

* kick

* kick

* kick

* kick

* dependencie for ./utils

* revert before_script

* unix, not linux

* fix buildscript

* restore version.txt

* fix

* fex exe

* bugfix: not exiting directory

* kick

* kick

* kick

* adding liquidissuer

* docstrings

* fix upload locations

* some docs

* ommit external exts in DevelopmentConfig

* simplifying startup for external exts

* macos improvements

* Merge branch 'master' of github.com:cryptoadvance/specter-desktop into liquidissuer

* last build-script adjustements

* fixed params gain

* reapply lost sys changes

* upgrade liquidissuer

* remove unnecessary print statement.

* remove unnecessary EXTENSION_LIST reduction in Development

* Bugfix: disable gunicorn for windows

* fix version.py

* black

* fix build

* last fixes for the macos-script

* Update src/cryptoadvance/specter/util/reflection.py

* Better formatting for cli

* a bit of reformating for cli_ext

* ignoring elements test

* skip test

* fix link to specterext-dice

* Removed link

* Added point about fewer devices

added more details

* Improved link

* Added seed plate comparision link

* Changed list character

* Added link in frint-end

* - changed text to multisig guide
- Replaced FAQ link by a link to the docs

* Added second link to multisig guide.

* Added video plugin to mkdocs

* Added requirement mkdocs-video

* Added mkdocs-video in the script

* reset requirements

* solved https://github.com/cryptoadvance/specter-desktop/issues/1736

* Added link in Readme

* changed video link

* Fixed sublist identation

* Changed video guide text

* Explained fingerprint

* Improved registering multisig setup

* Add picture about registering

* updated pic

* Merged the table from the tradeoff.md into the guide

* typo fix

* Fixed link

* Replaced https://deploy-preview-1731--specter-desktop-docs.netlify.app by https://specter-desktop-docs.netlify.app

Co-authored-by: Kim Neunert <k9ert@gmx.de>
2022-06-02 17:29:26 +02:00

37 lines
1.3 KiB
Bash
Executable file

#!/bin/bash
# This is mainly used by netlify where we're using the free starter-plan
# Checkout https://github.com/cryptoadvance/specter-desktop/pull/1463
# for a more birds eye view of this script.
# The nelify settings for this to work need to be:
# * Repository: github.com/cryptoadvance/specter-desktop
# * Base directory: Not set
# * Build command: ./utils/mkdocs-wrapper.sh build
# * Publish directory: site
# In the Environment Variables, you have to set:
# PYTHON_VERSION 3.8
# We're using mkdocs for creating the static pages
# We don't pin this dependency as this is not relevant for either testing or
# production. Therefore it's easier to simply let it upgrade automatically:
pip3 install mkdocs mkdocs-video mdx_truly_sane_lists
# At the sime of this comment, we had: mkdocs==1.2.3
# We want the README-md file in the root-folder for people browsing github
# but we also want it for people browsing https://docs.specter.solutions/desktop
# So for the second case, we copy it there and change all the links
if [ "$1" = "build" ]; then
cp README.md docs
sed -i 's/docs\///g' docs/README.md
sed -i 's/\.\.\/README.md/README.m/g' docs/*.md
fi
mkdocs $1 $2
# Potentially, we could rollback here the changes but that would be anoying if you want
# to edit files.