openSUSE / docserv

A server for building and publishing documentation with DAPS
https://opensuse.github.io/docserv/
GNU General Public License v3.0
4 stars 3 forks source link

Allow more flexible output paths #213

Open ghost opened 5 years ago

ghost commented 5 years ago

We currently hardcode the path scheme prefix/lang/product/docset. This is good enough for now but we need to be more flexible, and at least support prefix/lang/insertion/product/docset. This would be relevant e.g. if we're really moving back to sc/d.

My initial idea was to replace server_base_path in the INI with a different parameter. E.g. example parameter + value: url_structure = /prefix/@lang/dev/urandom/@product/@docset

Needless to say, a metric ton of places is already taking the current directory structure for granted.