Skip to content
SasViewPublic

About

This repository is where contributed tutorials for SasView live!

Resources

Stars

1 star

Watchers

4 watching

Forks

 
 

Latest commit

 

History

96 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorials

This is repository for contributed SasView tutorials

.fodt files committed here are automatically converted to PDF by GitHub Actions (.github/workflows/fodt-to-pdf.yml) using LibreOffice. Each PDF is written next to its source (e.g. foo.fodt → foo.pdf).

  • On push to a branch: PDFs are generated beside the .fodt files and committed back to that branch (and uploaded as workflow artifacts). Note: an open PR no longer cancels this push job.
  • On pull requests: PDFs are generated and uploaded as artifacts for review. For same-repo PR branches, the accompanying push event commits the PDFs into the branch.
  • workflow_dispatch can rebuild all (or recently changed) tutorials and commit the PDFs back to the selected branch.

To convert locally (requires LibreOffice):

./build_tools/build_pdfs.sh                  # all tracked .fodt files
./build_tools/build_pdfs.sh path/to/file.fodt
./build_tools/build_pdfs.sh --root           # root-level .fodt only

Once any new/changed tutorials are ready for general consumption the following steps should be taken:

  • All the pdf files should be copied to the /downloads folder of the website repository sasview.github.io. This is effectively the release step for the tutorials, making them available from http://www.sasview.org/links.html

    • For consistency, and to avoid rendering issues, prefer the PDFs produced by the GitHub Action rather than ad-hoc local exports.

    • Note that technically only those pdfs that have changed (or which are new) need to be copied.

  • In order to make the new/changed tutorials available from the SasView help documentation in the next release (and the developer builds) the following two steps need to be taken:

    • The pdf files above need to be copied to the /src/sas/sasview/media folder of the SasView repository and committed or git added.

    • If any new pdf tutorial (ie, a new .fodt) was created then the SasView documentation index needs to be updated by appropriately editing the /docs/sphinx-docs/source/user/tutorial.rst file in the SasView repository

About

This repository is where contributed tutorials for SasView live!

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages