~zethra/stargazer

91518c56bbc9567c4b2fd36b0a0fcd55e301e632 — Ben Aaron Goldberg 14 days ago bf010b6
docs: render docs with new lang and charset params
2 files changed, 24 insertions(+), 2 deletions(-)

M doc/stargazer.1.txt
M doc/stargazer.ini.5.txt
M doc/stargazer.1.txt => doc/stargazer.1.txt +1 -1
@@ 34,4 34,4 @@ AUTHORS
       bugs/patches can be submitted by email to
       ~zethra/stargazer@lists.sr.ht.

			      2021-04-16		  stargazer(1)
			      2021-06-09		  stargazer(1)

M doc/stargazer.ini.5.txt => doc/stargazer.ini.5.txt +23 -1
@@ 137,6 137,28 @@ CONFIGURATION KEYS
	   when an index file cannot be found. Off by default. Mutu‐
	   ally exclusive with cgi.

       lang
	   Set this value as the lang parameter for gemini files
	   served under this route. The lang param will only be set
	   for text/gemini responses. The Gemini Specification says
	   that the lang parameter should contain a comma separated
	   list of language identifier from RFC 4646. Stargazer will
	   use the lang parameter as given in this config. It is up to
	   the user to provid a valid list of languages. Currently,
	   this parameter is only used when serving static files.

       charset
	   Set this value as the charset parameter for text files
	   served under this route. The lang param will only be set
	   for text/* responses. If the lang paraparameter is also
	   set, then lang will be set instead of charset for text/gem‐
	   ini responses. The Gemini Specification says that the
	   charset parameter should be a character set specified in
	   RFC 2046. Stargazer will use the charset parameter as given
	   in this config. It is up to the user to provid a valid
	   charset value. Currently, this parameter is only used when
	   serving static files.

       redirect
	   Send a redirect to this URI instead of serving other con‐
	   tent. The URI exactly as written will be send to the


@@ 309,4 331,4 @@ AUTHORS
       bugs/patches can be submitted by email to
       ~zethra/stargazer@lists.sr.ht.

			      2021-04-16	      stargazer.ini(5)
			      2021-06-09	      stargazer.ini(5)