testingisdocumenting / znai

Build functional, maintainable, beautiful User Guides with markdown and Znai plugins. Instant pages navigation. Local search. Multiple integrations to work with Python, Java, C++, OpenAPI, etc. Transform "getting started" sections into slideshow for your workshops. Manage multiple documentations with self-deployed znai hub.
https://testingisdocumenting.org/znai
Apache License 2.0
250 stars 13 forks source link

Consider robots.txt files to be published automatically #1117

Closed jenspfahl-tgtg closed 1 year ago

jenspfahl-tgtg commented 1 year ago

I want to publish a robots.txt file when generating the site (ideally also in preview mode). Just placing the file next to the meta.json doesn't work. It would be best that Znai detects and takes this file automatically.

MykolaGolubyev commented 1 year ago

do you plan to use sitemaps.xml files? I have never created robots.txt and just checked an example. Some of them refer to other xml files. I assume you may want to upload them as well?

jenspfahl-tgtg commented 1 year ago

I think both is needed. Depending on the requirements sometimes a robots.txt is sufficient but somethimes both is needed. So being flexible here would be great.

MykolaGolubyev commented 1 year ago

@jenspfahl-tgtg let me know if you have anything else you would like to request. I am going to deploy new version today/tomorrow