Skip to content

Commit

Permalink
fixup! Docs: Change relative path to absolute path in md #DS-1364
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Jul 4, 2024
1 parent c237b3b commit 35461bf
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here are some tips how to make your contributing efforts efficient and eventuall

This project uses `makefile` for managing various chores, like dependency installation, testing, linting etc. Make sure you run `make` right after you clone the repository - it will set you up with everything needed to get started. Once you are done with that, have a look at what commands (targets) are available for you to run using `make` - `make install` etc.

## [Decisions](./docs/decisions/README.md)
## [Decisions](https://github.com/lmc-eu/spirit-design-system/blob/main/docs/decisions/README.md)

The reasoning behind various decisions made for the Spirit Design System. A good historical record.

Expand Down
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Migration Guides

Check the [`docs/migrations`](./docs/migrations/) directory to find migration guides for new versions of all packages.
Check the [`docs/migrations`](https://github.com/lmc-eu/spirit-design-system/blob/main/docs/migrations/README.md) directory to find migration guides for new versions of all packages.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ See individual [packages](#packages) to learn how to get started.

## Packages

| Package name | Description | Version |
| ---------------------------------------------------------------- | ------------------------------------------------------------- | -------------------------------------------------------- |
| [`@lmc-eu/spirit-analytics`](./packages/analytics) | Analytic tools for Spirit Design System | [![@lmc-eu/spirit-analytics][sa-badge]][sa-npm] |
| [`@lmc-eu/spirit-codemods`](./packages/codemods) | Codemod transforms for Spirit Design System version migration | [![@lmc-eu/spirit-codemods][sc-badge]][sc-npm] |
| [`@lmc-eu/spirit-common`](./packages/common) | Common scripts for Spirit Design System | Private |
| [`@lmc-eu/spirit-design-tokens`](./packages/design-tokens) | Design tokens for Spirit Design System | [![@lmc-eu/spirit-design-tokens][sdt-badge]][sdt-npm] |
| [`@lmc-eu/spirit-form-validations`](./packages/form-validations) | Form Validations for Spirit Design System | [![@lmc-eu/spirit-form-validations][sfv-badge]][sfv-npm] |
| [`@lmc-eu/spirit-icons`](./packages/icons) | Icons for Spirit Design System | [![@lmc-eu/spirit-icons][si-badge]][si-npm] |
| [`@lmc-eu/spirit-web`](./packages/web) | CSS and vanilla JS implementation of Spirit Design System | [![@lmc-eu/spirit-web][sw-badge]][sw-npm] |
| [`@lmc-eu/spirit-web-react`](./packages/web-react) | React implementation of Spirit Design System components | [![@lmc-eu/spirit-web-react][swr-badge]][swr-npm] |
| [`@lmc-eu/spirit-web-twig`](./packages/web-twig) | Twig implementation of Spirit Design System components | [![@lmc-eu/spirit-web-twig][swt-badge]][swt-packagist] |
| Package name | Description | Version |
|----------------------------------------------------------------| ------------------------------------------------------------- | -------------------------------------------------------- |
| [`@lmc-eu/spirit-analytics`][packages-analytics] | Analytic tools for Spirit Design System | [![@lmc-eu/spirit-analytics][sa-badge]][sa-npm] |
| [`@lmc-eu/spirit-codemods`][packages-codemods] | Codemod transforms for Spirit Design System version migration | [![@lmc-eu/spirit-codemods][sc-badge]][sc-npm] |
| [`@lmc-eu/spirit-common`][packages-common] | Common scripts for Spirit Design System | Private |
| [`@lmc-eu/spirit-design-tokens`][packages-design-tokens] | Design tokens for Spirit Design System | [![@lmc-eu/spirit-design-tokens][sdt-badge]][sdt-npm] |
| [`@lmc-eu/spirit-form-validations`][packages-form-validations] | Form Validations for Spirit Design System | [![@lmc-eu/spirit-form-validations][sfv-badge]][sfv-npm] |
| [`@lmc-eu/spirit-icons`][packages-icons] | Icons for Spirit Design System | [![@lmc-eu/spirit-icons][si-badge]][si-npm] |
| [`@lmc-eu/spirit-web`][packages-web] | CSS and vanilla JS implementation of Spirit Design System | [![@lmc-eu/spirit-web][sw-badge]][sw-npm] |
| [`@lmc-eu/spirit-web-react`][packages-web-react] | React implementation of Spirit Design System components | [![@lmc-eu/spirit-web-react][swr-badge]][swr-npm] |
| [`@lmc-eu/spirit-web-twig`][packages-web-twig] | Twig implementation of Spirit Design System components | [![@lmc-eu/spirit-web-twig][swt-badge]][swt-packagist] |

## Development

Expand All @@ -44,13 +44,23 @@ See individual [packages](#packages) to learn how to get started.
- `yarn install`
- `yarn start`

See [`package.json`](./package.json) for all available tasks.
See [`package.json`][package.json] for all available tasks.

## License

See the [LICENSE](LICENSE.md) file for information.

[alma-career]: https://github.com/lmc-eu
[packages-analytics]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/analytics
[packages-codemods]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/codemods
[packages-common]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/common
[packages-design-tokens]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/design-tokens
[packages-form-validations]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/form-validations
[packages-icons]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/icons
[packages-web]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web
[packages-web-react]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web-react
[packages-web-twig]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web-twig
[package.json]: https://github.com/lmc-eu/spirit-design-system/blob/main/package.json
[sa-badge]: https://img.shields.io/npm/v/%40lmc-eu/spirit-analytics.svg?style=flat-square
[sa-npm]: https://www.npmjs.com/package/@lmc-eu/spirit-analytics
[sc-badge]: https://img.shields.io/npm/v/%40lmc-eu/spirit-codemods.svg?style=flat-square
Expand Down
2 changes: 1 addition & 1 deletion packages/codemods/src/transforms/v2/web-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a collection of codemods for updating Web-React v2 components.

You can find instructions on how to run these codemods in the main package [README](./../../../../README.md).
You can find instructions on how to run these codemods in the main package [README](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/codemods/README.md).

## Included Scripts

Expand Down
4 changes: 2 additions & 2 deletions packages/web-twig/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To start this project simply run `make start` and then add project certificates

In a moment the app will be setup and ready on `https://localhost:4443`.

Please consult [`Makefile`](./Makefile) for available commands and options to setup and run this project.
Please consult [`Makefile`](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-twig/Makefile) for available commands and options to setup and run this project.

## Components definition

Expand All @@ -34,7 +34,7 @@ This is an example of a typical file structure of a component:
## Rules in components

1. Name of components must be camelCase with first letter small.
2. New components must contain a property class so that they can be extended according to the [instructions](./docs/extendComponents.md)
2. New components must contain a property class so that they can be extended according to the [instructions](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-twig/docs/extendComponents.md)

```twig
{% set _class = (props.class is defined) ? ' ' ~ props.class : '' -%}
Expand Down
6 changes: 3 additions & 3 deletions packages/web-twig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a Symfony bundle with Twig implementation of [Spirit Design System] comp

## Changelog

See [CHANGELOG](./CHANGELOG.md)
See [CHANGELOG](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-twig/CHANGELOG.md)

## How to install

Expand Down Expand Up @@ -75,8 +75,8 @@ This is considered a way how you can pass down HTML strings.

For available components see the [components directory](https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web-twig/src/Resources/components).

if you want to extend these components, an example guide is [here](./docs/extendComponents.md).
if you want to contribute, read the guide [here](./CONTRIBUTING.md).
if you want to extend these components, an example guide is [here](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-twig/docs/extendComponents.md).
if you want to contribute, read the guide [here](https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-twig/CONTRIBUTING.md).

## Additional Attributes

Expand Down

0 comments on commit 35461bf

Please sign in to comment.