Uploading to Wiki

From Fluids Wiki
Jump to navigation Jump to search


Short text, such as code snippets or brief code files, can be reasonably included directly into the text of a page. This is often best done through the syntaxhighlight extension.

However, long codes or non-text information is more cumbersome to include, and it may be desirable to instead link directly to a copy of the file itself.

Use

  1. (one time) Acquire access to the math/sheets repo
  2. (one time) Clone the repository: git clone gitlab@git.uwaterloo.ca:math/sheets.git
  3. Checkout the FluidsWiki_files branch: git checkout FluidsWiki_files
  4. Make sure you're using the latest version: git pull
  5. Add the desired files (please try to maintain an informative directory structure)
  6. Commit and push
  7. Submit a merge request (choose new merge request on the merge requests page.)
    • Reference @s8weber in the merge message asking to update the sheets wiki after merging