Skip to content

Commit

Permalink
make announcement bar more red
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 1, 2025
1 parent d0c31eb commit ca21e9a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 120 deletions.
15 changes: 10 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
mockery
========

Mockery is a project that creates mock implementations of Golang interfaces. The mocks generated in this project are based off of the [github.com/stretchr/testify](https://github.com/stretchr/testify) suite of testing packages.
!!! danger "Alpha Test"

Mockery `v3` is currently in alpha and should not be used for production.

Mockery is a project that creates mock implementations of Golang interfaces. It
inspects source code and generates implementations of the interface that aid in
testing.

![](assets/images/demo.gif)
![](assets/images/MockScreenshot.png)
Expand Down Expand Up @@ -38,10 +44,9 @@ packages:
<div class="result">
```bash
$ mockery
05 Mar 23 21:49 CST INF Starting mockery dry-run=false version=v2.20.0
05 Mar 23 21:49 CST INF Using config: .mockery.yaml dry-run=false version=v2.20.0
05 Mar 23 21:49 CST INF Walking dry-run=false version=v2.20.0
05 Mar 23 21:49 CST INF Generating mock dry-run=false interface=DB qualified-name=github.com/org/repo version=v2.20.0
05 Mar 23 21:49 CST INF Starting mockery dry-run=false version=v3.0.0
05 Mar 23 21:49 CST INF Using config: .mockery.yaml dry-run=false version=v3.0.0
05 Mar 23 21:49 CST INF Generating mock dry-run=false interface=DB qualified-name=github.com/org/repo version=v3.0.0
```
</div>

Expand Down
108 changes: 0 additions & 108 deletions docs/migrating_to_packages.md

This file was deleted.

9 changes: 3 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ markdown_extensions:
- pymdownx.magiclink
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
alternate_style: true
- toc:
permalink: true


nav:
- Home: index.md
Expand All @@ -63,11 +63,8 @@ nav:
- Running: running.md
- Examples: examples.md
- Features: features.md
- Notes:
- Notes:
- FAQ: notes.md
- Changelog: changelog.md
- Migrating to Packages: migrating_to_packages.md
- Deprecations: deprecations.md

extra_css:
- stylesheets/extra.css
Expand Down
12 changes: 11 additions & 1 deletion overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

{% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}

{% block announce %}
<style>
.md-banner {
border: 0.075rem solid #ff1744;
background-color: #ff17441a;
}
</style>
mockery v3 is currently in alpha. <strong>Do not use for production.</strong>
{% endblock %}

0 comments on commit ca21e9a

Please sign in to comment.