Skip to content

Commit 42075fe

Browse files
authored
refactor: make paid feature snippet (#246)
1 parent 246ce74 commit 42075fe

File tree

7 files changed

+11
-21
lines changed

7 files changed

+11
-21
lines changed

.flox/env/manifest.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
"x86_64-darwin",
5858
"x86_64-linux"
5959
],
60-
"allow": {
61-
"licenses": []
62-
},
63-
"semver": {},
6460
"cuda-detection": false
6561
},
6662
"services": {

docs/concepts/organizations.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Understanding Organizations in FloxHub
22

3-
!!! tip "This is a Flox for Teams feature"
4-
5-
This is a paid feature included with Flox for Teams.
6-
Sign up for [early access][early] if you are interested in accessing this feature.
3+
--8<-- "paid-feature.md"
74

85
An **organization** in FloxHub represents a shared workspace for teams. It provides:
96

docs/concepts/publishing.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ title: "Publishing"
33
description: How to use Flox environments to build artifacts
44
---
55

6-
!!! tip "This is a Flox for Teams feature"
7-
8-
This is a paid feature included with Flox for Teams.
9-
Sign up for [early access][early] if you are interested in accessing this feature.
6+
--8<-- "paid-feature.md"
107

118
Once you've built an artifact with the [`flox build`][builds-concept] command, you likely want to put it somewhere.
129
The `flox publish` command gives you the ability to upload artifacts to your private catalog.

docs/cookbook/publish/catalog-store.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ description: Create a Catalog Store for publishing your own Flox packages
55

66
# Setting up a Catalog Store
77

8-
!!! tip "This is a Flox for Teams feature"
9-
10-
A Catalog Store is required for publishing, and publishing is a paid feature included with Flox for Teams.
11-
Sign up for [early access][early] if you are interested in accessing this feature.
8+
--8<-- "paid-feature.md"
129

1310
Publishing your own software to your organization's Flox Catalog requires some
1411
initial setup, but the process is relatively straightforward. Flox supports

docs/snippets/paid-feature.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- markdownlint-disable MD041 -->
2+
!!! tip "This is a Flox for Teams feature"
3+
4+
This is a paid feature included with Flox for Teams.
5+
<!-- markdownlint-enable MD041 -->

docs/tutorials/build-and-publish.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,7 @@ Completed build of hello-opt-unknown in local mode
188188

189189
## Publish the artifact
190190

191-
!!! tip "This is a Flox for Teams feature"
192-
193-
This is a paid feature included with Flox for Teams.
194-
Sign up for [early access][early] if you are interested in accessing this feature.
191+
--8<-- "paid-feature.md"
195192

196193
Now that the artifact is built, we can send it somewhere.
197194
Every user has a private catalog that they can publish artifacts to.

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ markdown_extensions:
187187
line_spans: __span
188188
pygments_lang_class: true
189189
- pymdownx.inlinehilite
190-
- pymdownx.snippets
190+
- pymdownx.snippets:
191+
base_path: "docs/snippets"
191192
- pymdownx.superfences
192193

193194
# Content tabs

0 commit comments

Comments
 (0)