Some simple tools I have written in python to help me.
python laplaceTrendTest.py <file path>File to run the trend test on has to be in the following format.
T,FC
1,2
2,3
3,4Both columns T and FC need to be able to convert to numpy.float32.
Code written to migrate the wiki from Azure DevOps to Confluence
- Please update the constant
SPACE_KEYto be the key of the space you want the wiki pages to be upload to. - Then run the script, all the modified wiki pages will be stored in the output directory
- To upload the markdown files to Confluence we use a tool called mark
- Please follow the setups in their GitHub to install mark.
-
Run the bash script
clone-wiki.shto clone the Azure DevOps wiki.- Might have to run
chmod +x clone-wiki.sh - Make sure that you have your Azure Git credentials setup, otherwise the repo can't be cloned
- Might have to run
-
Update the python script with the correct space key
SPACE_KEY: line 5, fix-markdown.py
-
Run the python script:
make format -
Update the mark.conf
- Add your
username(i.e. your confluence email) - Add your
password, which should be your Confluence API token
- Add your
-
Run mark
- Use the command:
mark -c mark.conf -f "output/**/*.md"
- Use the command:
- If a page has a lot of images there is a chance it will fail to upload to confluence using Mark. As such please upload that page individually to ensure it works.