Skip to content

Commit

Permalink
GH-2249 Bump dependencies in reposilite-site module & improve readabi…
Browse files Browse the repository at this point in the history
…lity of snippets
  • Loading branch information
dzikoysk committed Oct 5, 2024
1 parent 1d8df95 commit fadebbb
Show file tree
Hide file tree
Showing 6 changed files with 2,417 additions and 2,693 deletions.
6 changes: 5 additions & 1 deletion reposilite-site/components/MDX.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
opacity: 1 !important;
}

pre code {
font-size: 0.85rem !important;
}

/* PrismJS 1.14.0
http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+aspnet+autohotkey+autoit+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+clojure+ruby+csp+css-extras+d+dart+diff+django+docker+eiffel+elixir+elm+markup-templating+erlang+fsharp+flow+fortran+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+jolie+json+julia+keyman+kotlin+latex+less+liquid+lisp+livescript+lolcode+lua+makefile+markdown+erb+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+sql+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+python+q+qore+r+jsx+typescript+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+plsql+soy+stylus+swift+tcl+textile+twig+tsx+vbnet+velocity+verilog+vhdl+vim+visual-basic+wasm+wiki+xeora+xojo+yaml&plugins=line-numbers+toolbar+show-language */
/**
Expand All @@ -26,7 +30,7 @@ http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascr

:root {
--background: #282a36;
--comment: #6272a4;
--comment: #7489cb;
--foreground: #f8f8f2;
--selection: #44475a;

Expand Down
3 changes: 2 additions & 1 deletion reposilite-site/components/MDX.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const CodeVariants = ({ children }) => {
// `text`
const Highlight = (props) => (
<Code
fontSize={'xs'}
fontSize={'xs'}
background='purple.100'
borderRadius={'full'}
whiteSpace={'pre'}
Expand All @@ -101,6 +101,7 @@ const Highlight = (props) => (
// ```text```
const Snippet = (props) => (
<Box
fontSize={'sm'}
border="1px solid black"
background={'#282a36'}
marginY='4'
Expand Down
2 changes: 1 addition & 1 deletion reposilite-site/components/landing/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const HeroDescription = ({ style }) => {
Reposilite <Text as="u">3.x</Text>
</Heading>
<Text fontWeight={'bold'} paddingTop={6}>
Lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem.
Lightweight and easy-to-use repository manager for Maven-based artifacts in the JVM ecosystem.
</Text>
<Text paddingTop={2}>
<Text as='i' color="purple.400">Simple, extensible, scalable and self-hosted</Text>
Expand Down
34 changes: 17 additions & 17 deletions reposilite-site/data/guides/installation/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ $ java -jar reposilite.jar --parameter=value

List of available parameters:

| Parameter | Default value | Description |
| :--: | :--: | :--: |
| `--help` | - | Displays help message with all parameters |
| `--version` | - | Display current version of Reposilite |
| `--working-directory` <br/> `-wd` | `./` | Sets custom working directory for this instance, so the location where Reposilite keeps local data |
| `--plugin-directory` <br/> `-pd` | `./plugins` | Sets custom directory for plugins |
| `--generate-configuration` <br/> `-gc` | - | Generate default template of the requested file. Supported templates: `configuration.cdn` for local configuration and `configuration.shared.json` for shared configuration |
| `--local-configuration`<br/>`--local-config`<br/>`-lc` | `configuration.cdn` | Sets custom location of local configuration file in CDN format. By default it's relative to working directory path, but you can also use absolute path. |
| `--local-configuration-mode`<br/>`--local-config-mode`<br/>`-lcm` | `auto` | Configuration modes description: [Configuration modes](#configuration-modes) |
| `--shared-configuration`<br/>`--shared-config`<br/>`-sc` | `configuration.shared.cdn` | Replaces database oriented storage of shared configuration with manually linked JSON file with all defined properties |
| `--hostname`<br/>`-h`| Value from [local configuration](#local-configuration) | Overrides hostname from local configuration |
| `--port`<br/>`-p` | Value from [local configuration](#local-configuration) | Overrides port from local configuration |
| `--database` | Value from [local configuration](#local-configuration) | Overrides database from local configuration |
| `--token`<br/>`-t` | Empty | Create temporary token with the given credentials in `name:secret` format |
| `--channel`<br/>`-c` | `info` | Sets channel of Reposilite updates. Supported channels: `fatal`, `error`, `warn`, `info`, `debug`, `trace` |
| `--enable-migrations` | - | Runs set of optional migrations. Currently available migrations: <br/> 1. 001 Change `repository` identifier size from 32 to 64. This migration is required to support longer repository names |
| `--test-env`<br/>`--debug`<br/>`-d` | - | Enables debug mode |
| Parameter | Description | Default value |
|:------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------:|
| `--help` | Displays help message with all parameters | - |
| `--version` | Display current version of Reposilite | - |
| `--working-directory` <br/> `-wd` | Sets custom working directory for this instance, so the location where Reposilite keeps local data | `./` |
| `--plugin-directory` <br/> `-pd` | Sets custom directory for plugins | `./plugins` |
| `--generate-configuration` <br/> `-gc` | Generate default template of the requested file. Supported templates: `configuration.cdn` for local configuration and `configuration.shared.json` for shared configuration | - |
| `--local-configuration`<br/>`--local-config`<br/>`-lc` | Sets custom location of local configuration file in CDN format. By default it's relative to working directory path, but you can also use absolute path. | `configuration.cdn` |
| `--local-configuration-mode`<br/>`--local-config-mode`<br/>`-lcm` | Configuration modes description: [Configuration modes](#configuration-modes) | `auto` |
| `--shared-configuration`<br/>`--shared-config`<br/>`-sc` | Replaces database oriented storage of shared configuration with manually linked JSON file with all defined properties | `configuration.shared.cdn` |
| `--hostname`<br/>`-h` | Overrides hostname from local configuration | Value from [local configuration](#local-configuration) |
| `--port`<br/>`-p` | Overrides port from local configuration | Value from [local configuration](#local-configuration) |
| `--database` | Overrides database from local configuration | Value from [local configuration](#local-configuration) |
| `--token`<br/>`-t` | Create temporary token with the given credentials in `name:secret` format | Empty |
| `--channel`<br/>`-c` | Sets channel of Reposilite updates. Supported channels: `fatal`, `error`, `warn`, `info`, `debug`, `trace` | `info` |
| `--enable-migrations` | Runs set of optional migrations. Currently available migrations: <br/> 1. 001 Change `repository` identifier size from 32 to 64. This migration is required to support longer repository names | - |
| `--test-env`<br/>`--debug`<br/>`-d` | Enables debug mode | - |

#### Configuration modes

Expand Down
Loading

0 comments on commit fadebbb

Please sign in to comment.