Replies: 1 comment 2 replies
-
Do I understand you correctly that you are compiling different versions of the site, N times for N students? That would mean you know the IP address at compile time? If that is the case then perhaps the mkdocs-macros plugin would do the trick? Given that the students are taught to use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I'm currently working on some documentation and would like whenever possible to "automate" the inclusion/display of the IP address of the server running the mkdocs-material generated site.
Let me illustrate this with a .md snippet code example:
In the above code, if ever possible, I'd like to replace the
YOUR-IP/FQDN
with the actual public IP address of the host serving the documentation. Obviously, that information can change/is volatile as multiple instances are made available at the same time, one per students that is..Anyone would have ideas on how to solve this?
Thanks a lot for MKdocs,
Cheers
Beta Was this translation helpful? Give feedback.
All reactions