mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 19:45:08 -04:00
Added no-copy classes for directory listings
This commit is contained in:
@@ -82,7 +82,7 @@ Next, add your `*.svg` icons into a subfolder of the `.icons` folder. Let's say
|
||||
you downloaded and unpacked the [Bootstrap] icon set, and want to add it to
|
||||
your project documentation. The structure of your project should look like this:
|
||||
|
||||
``` sh
|
||||
``` { .sh .no-copy }
|
||||
.
|
||||
├─ overrides/
|
||||
│ └─ .icons/
|
||||
|
||||
@@ -360,7 +360,7 @@ removed during the build process.
|
||||
For the official documentation, the [built-in privacy plugin] downloads the
|
||||
following resources:
|
||||
|
||||
``` { .sh id="example" }
|
||||
``` { .sh .no-copy #example }
|
||||
.
|
||||
└─ assets/external/
|
||||
├─ unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
||||
|
||||
@@ -45,7 +45,7 @@ By default, the built-in blog plugin assumes that your blog is hosted inside
|
||||
the `blog` subfolder of your documentation ([this is configurable]). Next,
|
||||
you need to create the following structure:
|
||||
|
||||
``` sh
|
||||
``` { .sh .no-copy }
|
||||
.
|
||||
├─ docs/
|
||||
│ └─ blog/
|
||||
@@ -935,7 +935,7 @@ your first post. The plugin doesn't assume any specific directory structure, so
|
||||
you're completely free in how you organize your posts, as long as they are all
|
||||
located inside the `posts` directory:
|
||||
|
||||
``` sh
|
||||
``` { .sh .no-copy }
|
||||
.
|
||||
├─ docs/
|
||||
│ └─ blog/
|
||||
@@ -1213,7 +1213,7 @@ for each post. Luckily, the [built-in meta plugin] allows to set default front
|
||||
matter properties per folder. You can group your posts by categories, or
|
||||
authors, and add a `.meta.yml` file to set common properties:
|
||||
|
||||
``` sh
|
||||
``` { .sh .no-copy }
|
||||
.
|
||||
├─ docs/
|
||||
│ └─ blog/
|
||||
@@ -1278,7 +1278,7 @@ If you want to add custom content to automatically generated [archive] and
|
||||
posts, you can manually create the category page in the same location where
|
||||
the [built-in blog plugin] would create it:
|
||||
|
||||
``` sh
|
||||
``` { .sh .no-copy }
|
||||
.
|
||||
├─ docs/
|
||||
│ └─ blog/
|
||||
|
||||
Reference in New Issue
Block a user