Skip to content
#################################################################################################### ####################################################################################################
# #
# PythonicGcodeMachine - @licence_header_description@ # PythonicGcodeMachine - A Python G-code Toolkit
# Copyright (C) 2018 Fabrice Salvaire # Copyright (C) 2018 Fabrice Salvaire
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
......
...@@ -10,6 +10,12 @@ find PythonicGcodeMachine -name "lextab.py" -exec rm {} \; ...@@ -10,6 +10,12 @@ find PythonicGcodeMachine -name "lextab.py" -exec rm {} \;
api=doc/sphinx/source/api api=doc/sphinx/source/api
rm -rf ${api} rm -rf ${api}
python3 PythonicGcodeMachine/Gcode/Rs274/data/make-rst.py
rc=$?
if [ $rc -ne 0 ]; then
exit 1
fi
echo echo
echo Generate RST API files echo Generate RST API files
pyterate-rst-api PythonicGcodeMachine pyterate-rst-api PythonicGcodeMachine
......
#! /usr/bin/bash
# Regenerate from scratch
# examples=doc/sphinx/source/examples
# rm -rf ${examples}
echo
echo Generate RST examples files
MusicaLogLevel=WARNING pyterate # --force
echo
echo Run Sphinx
pushd doc/sphinx/
./make-html # --clean
popd
#################################################################################################### ####################################################################################################
# #
# PythonicGcodeMachine - @licence_header_description@ # PythonicGcodeMachine - A Python G-code Toolkit
# Copyright (C) 2018 Fabrice Salvaire # Copyright (C) 2018 Fabrice Salvaire
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
......
#################################################################################################### ####################################################################################################
# #
# PythonicGcodeMachine - @licence_header_description@ # PythonicGcodeMachine - A Python G-code Toolkit
# Copyright (C) 2018 Fabrice Salvaire # Copyright (C) 2018 Fabrice Salvaire
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
......