mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' into test/missing-navigation-testcases
This commit is contained in:
@@ -1,15 +1,20 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
# Suite
|
# Suite
|
||||||
|
|
||||||
For this test, the header is set to `display: none`, as Gemini aligns the
|
For this test, the header is set to `display: none`, as Gemini aligns the
|
||||||
elements to be captured with the top of the page, thus getting blocked by the
|
elements to be captured with the top of the page, thus getting blocked by the
|
||||||
fixed positioned header.
|
fixed positioned header.
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> master
|
||||||
<style>
|
<style>
|
||||||
.md-header {
|
.md-header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
# Suite
|
||||||
|
|
||||||
## Default
|
## Default
|
||||||
|
|
||||||
!!! note
|
!!! note
|
||||||
|
|||||||
@@ -19,11 +19,15 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Test suite
|
# Test suite
|
||||||
|
<<<<<<< HEAD
|
||||||
site_name: Test
|
site_name: Test
|
||||||
pages:
|
pages:
|
||||||
- Lorem ipsum dolor sit amet: index.md
|
- Lorem ipsum dolor sit amet: index.md
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
|
=======
|
||||||
|
site_name: Test/Admonition
|
||||||
|
>>>>>>> master
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- markdown.extensions.admonition
|
- markdown.extensions.admonition
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
# Suite
|
# Suite
|
||||||
|
|
||||||
All transitions are set to `none` in order to ensure that all elements of
|
All transitions are set to `none` in order to ensure that all elements of
|
||||||
interest always look the same and are not captured somewhere in the middle.
|
interest always look the same and are not captured somewhere in the middle.
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> master
|
||||||
<style>
|
<style>
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
@@ -10,3 +13,5 @@ interest always look the same and are not captured somewhere in the middle.
|
|||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
# Suite
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
# Suite
|
# Suite
|
||||||
|
|
||||||
All transitions are set to `none` in order to ensure that all elements of
|
All transitions are set to `none` in order to ensure that all elements of
|
||||||
interest always look the same and are not captured somewhere in the middle.
|
interest always look the same and are not captured somewhere in the middle.
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> master
|
||||||
<style>
|
<style>
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
@@ -10,3 +13,8 @@ interest always look the same and are not captured somewhere in the middle.
|
|||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
|
||||||
|
# Suite
|
||||||
|
>>>>>>> master
|
||||||
|
|||||||
@@ -24,8 +24,13 @@ pages:
|
|||||||
- Pneumonoultramicroscopicsilicovolcanoconiosis: index.md
|
- Pneumonoultramicroscopicsilicovolcanoconiosis: index.md
|
||||||
- Supercalifragilisticexpialidocious:
|
- Supercalifragilisticexpialidocious:
|
||||||
- Pseudopseudohypoparathyroidism: nested.md
|
- Pseudopseudohypoparathyroidism: nested.md
|
||||||
|
<<<<<<< HEAD
|
||||||
- Floccinaucinihilipilification: _.md
|
- Floccinaucinihilipilification: _.md
|
||||||
- Antidisestablishmentarianism: _.md
|
- Antidisestablishmentarianism: _.md
|
||||||
|
=======
|
||||||
|
- Floccinaucinihilipilification: nested.md
|
||||||
|
- Antidisestablishmentarianism: nested.md
|
||||||
|
>>>>>>> master
|
||||||
|
|
||||||
# Reset webfonts because of flaky tests
|
# Reset webfonts because of flaky tests
|
||||||
extra:
|
extra:
|
||||||
|
|||||||
9
tests/visual/suites/layout/nav/docs/default.md
Normal file
9
tests/visual/suites/layout/nav/docs/default.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<style>
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
transition: none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
# Suite
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
# Suite
|
# Suite
|
||||||
|
|
||||||
All transitions are set to `none` in order to ensure that all elements of
|
All transitions are set to `none` in order to ensure that all elements of
|
||||||
@@ -7,15 +8,28 @@ Furthermore, the table of contents is hidden for all tests layed out on this
|
|||||||
page, as it is sometimes shown within the drawer though it isn't activated.
|
page, as it is sometimes shown within the drawer though it isn't activated.
|
||||||
This seems to be a caching-related issue.
|
This seems to be a caching-related issue.
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> master
|
||||||
<style>
|
<style>
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
|
||||||
|
/* Hack: ensure table of contents is hidden, as browser caching sometimes
|
||||||
|
makes it visible by accident, though it was never activated */
|
||||||
|
>>>>>>> master
|
||||||
.md-nav--secondary {
|
.md-nav--secondary {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
# Suite
|
||||||
|
|
||||||
|
>>>>>>> master
|
||||||
## Default
|
## Default
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
# Suite
|
|
||||||
|
|
||||||
All transitions are set to `none` in order to ensure that all elements of
|
|
||||||
interest always look the same and are not captured somewhere in the middle.
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
@@ -10,3 +5,5 @@ interest always look the same and are not captured somewhere in the middle.
|
|||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
# Suite
|
||||||
|
|||||||
@@ -26,9 +26,15 @@ pages:
|
|||||||
- Etiam condimentum lacinia urna id vestibulum: _.md
|
- Etiam condimentum lacinia urna id vestibulum: _.md
|
||||||
- A dapibus turpis iaculis at:
|
- A dapibus turpis iaculis at:
|
||||||
- Donec tortor sem: nested.md
|
- Donec tortor sem: nested.md
|
||||||
|
<<<<<<< HEAD
|
||||||
- Scelerisque ut congue id: secondary.md
|
- Scelerisque ut congue id: secondary.md
|
||||||
- Pretium ac risus: _.md
|
- Pretium ac risus: _.md
|
||||||
- Maecenas tincidunt nulla dui: _.md
|
- Maecenas tincidunt nulla dui: _.md
|
||||||
|
=======
|
||||||
|
- Scelerisque ut congue id: nested.md
|
||||||
|
- Pretium ac risus: nested.md
|
||||||
|
- Maecenas tincidunt nulla dui: default.md
|
||||||
|
>>>>>>> master
|
||||||
|
|
||||||
# Reset webfonts because of flaky tests
|
# Reset webfonts because of flaky tests
|
||||||
extra:
|
extra:
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ spec.register(__dirname, {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 2nd+ level navigation */
|
/* Second-level navigation */
|
||||||
"md-nav": {
|
"md-nav": {
|
||||||
"url": "/nested",
|
"url": "/nested",
|
||||||
"capture": ".md-nav--primary .md-nav",
|
"capture": ".md-nav--primary .md-nav",
|
||||||
|
|||||||
Reference in New Issue
Block a user