Replies: 9 comments
-
|
MkDocs will copy any files in your docs_dir to the site. However, MkDocs will not do anything else with non-markdown files. If you would like to auto-generate a list of files, then you would need to use a plugin for that. |
Beta Was this translation helpful? Give feedback.
-
|
Are you looking for something like Apache's I know someone who blogs on MkDocs. Ideally, it will be produced as a plug-in. |
Beta Was this translation helpful? Give feedback.
-
|
Added to Wiki. Expect the development of plugins: |
Beta Was this translation helpful? Give feedback.
-
|
Originally this post was on an issue, but it has been moved to the recently set up Discussion: Please continue to comment here if necessary. ... and I'm a MkDocs User, but I've included this comment. 💻😆 |
Beta Was this translation helpful? Give feedback.
-
|
Maybe awesome-pages is what you want? |
Beta Was this translation helpful? Give feedback.
-
|
I think this will change the way MkDocs is used. This can compete with other static site generators. |
Beta Was this translation helpful? Give feedback.
-
|
If it is possible to display images, for example, it will be possible to display a list of themes. Instead of here: You need to consider how to post the theme. but anyway, you will be able to use MkDocs for quite a variety of purposes. |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/oprypin/mkdocs-gen-files plugin can do this Untested code, to be put in a script as per the plugin: import os
import mkdocs_gen_files
with mkdocs_gen_files.open('some_dir/files/index.md', 'w') as f:
for filename in os.listdir('docs/some_dir/files'):
f.write(f'* [{filename}]({filename})') |
Beta Was this translation helpful? Give feedback.
-
|
Shameless plugin: I wrote https://github.com/skedastically/mkdocs-macro-gimmicks/ which can |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can MKDocs generate a page from a directory with all sorts of files in it?
I have a directory where I save all sorts of file for people to download: different svgs, zips, tars, jpgs etc. etc. Often with quick changing version numbers.
Maintaining a table with correct links to every file is rather tedious... So I would like to link to the directory where people can use the naming of the respective files to figure out which one they need and download them
Thnx!
Beta Was this translation helpful? Give feedback.
All reactions