ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Support relative image paths in doc gen #756

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

Allow a images directory in the wiki repo.

The overall task here should be roughly

  1. Locate where the hrefs are parsed
  2. Add an if statement that checks if the href starts with "http"
    • if it does, do what is done currently, that is download to output dir
    • if it does not then assume the image is relative and copy from relative path to output dir