diff --git a/docs/assets/output.css b/docs/assets/output.css index c2fe8f5da..197a6cdfc 100644 --- a/docs/assets/output.css +++ b/docs/assets/output.css @@ -724,10 +724,18 @@ video { display: none; } +.h-2 { + height: 0.5rem; +} + .h-5 { height: 1.25rem; } +.h-8 { + height: 2rem; +} + .h-full { height: 100%; } @@ -892,11 +900,29 @@ video { border-right-width: 1px; } +.border-t { + border-top-width: 1px; +} + +.border-t-2 { + border-top-width: 2px; +} + +.border-gray-300 { + --tw-border-opacity: 1; + border-color: rgb(209 213 219 / var(--tw-border-opacity)); +} + .border-gray-600 { --tw-border-opacity: 1; border-color: rgb(75 85 99 / var(--tw-border-opacity)); } +.border-white { + --tw-border-opacity: 1; + border-color: rgb(255 255 255 / var(--tw-border-opacity)); +} + .border-b-white { --tw-border-opacity: 1; border-bottom-color: rgb(255 255 255 / var(--tw-border-opacity)); @@ -915,6 +941,15 @@ video { border-right-color: rgb(255 255 255 / 0.1); } +.border-t-white { + --tw-border-opacity: 1; + border-top-color: rgb(255 255 255 / var(--tw-border-opacity)); +} + +.border-t-white\/20 { + border-top-color: rgb(255 255 255 / 0.2); +} + .bg-black { --tw-bg-opacity: 1; background-color: rgb(0 0 0 / var(--tw-bg-opacity)); @@ -999,6 +1034,11 @@ video { padding-right: 0.25rem; } +.px-2 { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; @@ -1166,6 +1206,11 @@ video { line-height: 1.75rem; } +.text-xs { + font-size: 0.75rem; + line-height: 1rem; +} + .font-bold { font-weight: 700; } @@ -1204,6 +1249,11 @@ video { color: rgb(0 0 0 / var(--tw-text-opacity)); } +.text-gray-200 { + --tw-text-opacity: 1; + color: rgb(229 231 235 / var(--tw-text-opacity)); +} + .text-gray-300 { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity)); @@ -1283,14 +1333,6 @@ video { --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity)); } -.ring-white\/10 { - --tw-ring-color: rgb(255 255 255 / 0.1); -} - -.ring-white\/5 { - --tw-ring-color: rgb(255 255 255 / 0.05); -} - .blur { --tw-blur: blur(8px); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); @@ -1380,15 +1422,6 @@ video { row-gap: 5rem; } - .sm\:rounded-3xl { - border-radius: 1.5rem; - } - - .sm\:px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; @@ -1433,4 +1466,8 @@ video { padding-left: 2rem; padding-right: 2rem; } + + .lg\:pl-3 { + padding-left: 0.75rem; + } } diff --git a/docs/overrides/home.html b/docs/overrides/home.html index a86346476..59b8a33c1 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -45,7 +45,7 @@

Fast, Decla Declaratively define your development environment by toggling basic options.
-
+
Environment variables.
@@ -56,7 +56,7 @@

Fast, Decla file, set dotenv.enable = true;.

-
+
Packages.
@@ -64,7 +64,7 @@

Fast, Decla Pick from 80000+ prebuilt packages for Linux/macOS and X64/Arm64. Works with WSL2.

-
+
Run script(s) when entering the environment.
@@ -72,7 +72,7 @@

Fast, Decla Prepare your environment when entering the shell that has environment already loaded.

-
+
Automatically load the environment when entering the project.
@@ -85,17 +85,17 @@

Fast, Decla

-
-
+
+
-
-
-
-
+
+
+
+
devenv.nix
-
{ pkgs, config, ... }: {
+              
{ pkgs, config, ... }: {
   env.GREET = "determinism";
 
   packages = [ 
@@ -109,41 +109,37 @@ 

Fast, Decla }

-
-
-
$ devenv shell
+          
+
$ devenv shell
 hello determinism
 ncdu 2.3
 
 (devenv) $
-                
+
-
-
-
-
- -
-
-
-
-
-
-
- devenv.nix
-
-
-
{ pkgs, ... }: {
+
+
+
+
+
+
+
+
+
+
+ devenv.nix +
+
+
+
{ pkgs, ... }: {
   scripts.build.exec = "parcel build";
 
   # Runs on git commit and CI
@@ -157,81 +153,76 @@ 

Fast, Decla }; }; } -

-
- -
- -
-
$ devenv shell build
-...
-                
-
-
+
+
-
-
-

Scripts and Git hooks

-

- Define scripts and - git hooks - to automate your development workflow. -

-
-
- Scripts. -
-
- Define scripts that can be invoked inside the environment, using all the packages and environment - variables. -
-
-
-
- git hooks. -
-
- Pick from builtin and language specific linters and formatters using git-hooks.nix. -
-
-
- Invoke commands inside the environment. -
-
- Particularly useful in CI/CD and scripting. -
-
-
-
-
+
+
$ devenv shell build
+...
+          
-
-
-
-
- - -
-
-

Search packages and options

-

- Explore packages and options to customize your - environment. +

+
+

Scripts and Git hooks

+

+ Define scripts and + git hooks + to automate your development workflow. +

+
+
+ Scripts. +
+
+ Define scripts that can be invoked inside the environment, using all the packages and environment + variables. +
-
+
+
+ git hooks. +
+
+ Pick from builtin and language specific linters and formatters using git-hooks.nix. +
+
+
+ Invoke commands inside the environment. +
+
+ Particularly useful in CI/CD and scripting. +
+
+ +
+
+
+
+
-
-
+
+
+
+
+
+

Search packages and options

+

+ Explore packages and options to customize your + environment. +

+
-
-
$ devenv search devenv
+      
+
+
+
$ devenv search devenv
 +--------------+---------------+------------------------------------------------------------------------+
 | Package      | Version       | Description                                                            |
 +--------------+---------------+------------------------------------------------------------------------+
@@ -247,63 +238,61 @@ 

Fast, Decla | devenv.latestVersion | string | "1.0.3" | The latest version of devenv. | +--------------------------+---------+-----------+------------------------------------------------------------+ • Found 1 package and 3 options for 'devenv'. -

-
-
- +
-
+
+
+
+
- - -
-
-
-
-
-

Languages

-

- Supports over 50 programming languages. -

-
-
- Packed with tooling. -
-
- Comes with commonly used tooling for each language. Including LSP servers, formatters, linters, and - compilers. -
-
-
-
- Version support. -
-
- Languages like Python, Terraform, Rust, PHP and Ruby all have version support. -
-
-
- Examples -
-
- Checkout examples collection - to get started. -
-
-
+
+
+
+
+
+

Languages

+

+ Supports over 50 programming languages. +

+
+
+ Packed with tooling. +
+
+ Comes with commonly used tooling for each language. Including LSP servers, formatters, linters, and + compilers. +
+
+
+
+ Version support. +
+
+ Languages like Python, Terraform, Rust, PHP and Ruby all have version support. +
+
+
+ Examples +
+
+ Checkout examples collection + to get started. +
+
-
-
-
-
-
-
-
- devenv.nix
-
+
+
+
+
+
+
+
+
+ devenv.nix
-
{ pkgs, config, ... }: {
+              
+
{ pkgs, config, ... }: {
   languages.python = {
     enable = true;
     version = "3.11";
@@ -333,13 +322,9 @@ 

Fast, Decla }; }; } -

-
- +
-
-
@@ -350,17 +335,17 @@

Fast, Decla
-
-
+
+
-
-
-
-
+
+
+
+
devenv.nix
-
{ pkgs, ... }: {
+              
{ pkgs, ... }: {
   packages = [ 
     pkgs.mkdocs
     pkgs.watchexec
@@ -371,17 +356,16 @@ 

Fast, Decla tailwind.exec = "watchexec -e html,css,js npx tailwindcss build extra.css -o output.css"; }; } -

+
-
-
-
$ devenv up
+          
+
$ devenv up
 • Building processes ...
 • Starting processes ...
 ...
-                
+
@@ -393,7 +377,7 @@

Fast, Decla Define your processes in a declarative way and start them with devenv up.
-
+
Processes
@@ -402,7 +386,7 @@

Fast, Decla access to your environment.

-
+
process-compose
@@ -411,7 +395,7 @@

Fast, Decla href="https://github.com/F1bonacc1/process-compose">process-compose is used to manage processes, giving you a simple interface to inspect logs and restart processes (ctrl-r). - +

@@ -419,7 +403,6 @@

Fast, Decla

-
@@ -433,7 +416,7 @@

Fast, Decla RabbitMQ, WireMock, MinIO, Caddy, ElasticSearch, and more are being added each day.
-
+
Pre-configured processes
@@ -442,7 +425,7 @@

Fast, Decla class="bg-gray-100 p-1">devenv up.

-
+
Configuration
@@ -450,7 +433,7 @@

Fast, Decla Each service provides a number of options how to configure it and a hook to pass extra configuration, whatever the format.

-
+
Extendable
@@ -462,17 +445,17 @@

Fast, Decla

-
-
+
+
-
-
-
-
+
+
+
+
devenv.nix
-
{ pkgs, ... }: {
+              
{ pkgs, ... }: {
   services.postgres = {
     enable = true;
     package = pkgs.postgresql_15;
@@ -485,40 +468,35 @@ 

Fast, Decla initialScript = "CREATE EXTENSION IF NOT EXISTS timescaledb;"; }; } -

+
-
-
-
$ devenv up
+          
+
$ devenv up
 ...
-                
+
-
-
-
- -
-
+
+
-
-
-
-
+
+
+
+
devenv.nix
-
{ pkgs, ... }: {
+              
{ pkgs, ... }: {
   packages = [ 
     pkgs.mkdocs
     pkgs.curl
@@ -533,15 +511,14 @@ 

Fast, Decla curl http://localhost:8000 | grep "Hello, world!" ''; } -

+
-
-
-
$ devenv test
+          
+
$ devenv test
 ...
-                
+
@@ -553,7 +530,7 @@

Fast, Decla Running a script inside your development environment with all processes running should be as simple as devenv test.
-
+
enterTest
@@ -569,8 +546,6 @@

Fast, Decla

-
-
@@ -582,7 +557,7 @@

Fast, Decla Generate containers from your development environment and build/copy/run them.
-
+
Containerize your environment.
@@ -593,7 +568,7 @@

Fast, Decla environment in a container.

-
+
Containerize your processes.
@@ -604,7 +579,7 @@

Fast, Decla

Use devenv container run processes to run your processes in a container.

-
+
Custom containers.
@@ -617,17 +592,17 @@

Fast, Decla

-
-
+
+
-
-
-
-
+
+
+
+
devenv.nix
-
{ pkgs, ... }: {
+              
{ pkgs, ... }: {
   packages = [ 
     pkgs.mkdocs
     pkgs.curl
@@ -637,13 +612,12 @@ 

Fast, Decla docs.exec = "mkdocs serve"; }; } -

+
-
-
-
$ devenv container build processes
+          
+
$ devenv container build processes
 ...
 
 $ devenv container copy processes
@@ -651,32 +625,28 @@ 

Fast, Decla $ devenv container run processes ... -

+
-
-
-
- -
-
+
+
-
-
-
-
- devenv.yaml
+
+
+
+
+ devenv.nix
-
inputs:
+              
inputs:
   myorg-devenv:
     url: github:myorg/myorg-devenv
 imports:
@@ -684,11 +654,9 @@ 

Fast, Decla - ./backend - myorg-devenv/service1 - myorg-devenv/service2 -

+
-
-
@@ -699,7 +667,7 @@

Fast, Decla Compose multiple environments into a single environment.
-
+
Local imports
@@ -708,7 +676,7 @@

Fast, Decla single environment.

-
+
Remote imports
@@ -720,25 +688,18 @@

Fast, Decla configuration until your team is comfortable maintaining their own environments.

-

-

Built by

-
-
-
-
-
-
+ {% endblock %} @@ -748,4 +709,4 @@

Built by

{% block footer %} {{ super() }} -{% endblock %} \ No newline at end of file +{% endblock %}