@apify/docs-theme 1.0.50 → 1.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -72,7 +72,7 @@ const themeConfig = ({
72
72
  rel: 'dofollow',
73
73
  },
74
74
  {
75
- label: 'SDK for Python',
75
+ html: 'SDK for Python <span class="beta-chip">beta</span>',
76
76
  href: `${absoluteUrl}/sdk/python/`, // we need a trailing slash here, we'd get redirected there anyway
77
77
  target: '_self',
78
78
  rel: 'dofollow',
@@ -673,3 +673,21 @@ aside li.section-header.menu__list-item:nth-child(2) {
673
673
  aside li.section-header > .menu__list {
674
674
  padding-left: 0;
675
675
  }
676
+
677
+ .beta-chip {
678
+ display: inline-block;
679
+ border: 1px solid #ccc;
680
+ border-radius: 20px;
681
+ content: 'beta';
682
+ background: #ddd;
683
+ font-size: 80%;
684
+ line-height: 10px;
685
+ padding: 3px;
686
+ position: relative;
687
+ top: -1px;
688
+ margin-left: 5px;
689
+ }
690
+
691
+ html[data-theme='dark'] .beta-chip {
692
+ background: #333;
693
+ }