Skip to content

Commit

Permalink
fix: relative links in website to absolute links (#923)
Browse files Browse the repository at this point in the history
- relative links in website were not working as the files can't be viewed
  on the site
  - these were erroneously copy+pasted from the README, where the relative
    links work by pointing to files in the repo
    - those relative links don't work on the website

- use absolute links instead to the main fork of the repo's `master` branch
  - this has a few caveats now, in that the README has a bit more desync from
    the website now and that, unlike the README, these point to a specific
    fork and branch
    - the README points to the same version; regardless if forked or on a
      different branch, it'll point to that branch's code
  • Loading branch information
felixmosh authored Nov 4, 2020
1 parent 569c3ed commit 6078acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/pages/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ module.exports = {

## Babel

You can add your own `.babelrc` to the root of your project and TSDX will **merge** it with [its own Babel transforms](./src/babelPluginTsdx.ts) (which are mostly for optimization), putting any new presets and plugins at the end of its list.
You can add your own `.babelrc` to the root of your project and TSDX will **merge** it with [its own Babel transforms](https://github.com/formium/tsdx/blob/master/src/babelPluginTsdx.ts) (which are mostly for optimization), putting any new presets and plugins at the end of its list.

## Jest

You can add your own `jest.config.js` to the root of your project and TSDX will **shallow merge** it with [its own Jest config](./src/createJestConfig.ts).
You can add your own `jest.config.js` to the root of your project and TSDX will **shallow merge** it with [its own Jest config](https://github.com/formium/tsdx/blob/master/src/createJestConfig.ts).

## ESLint

You can add your own `.eslintrc.js` to the root of your project and TSDX will **deep merge** it with [its own ESLint config](./src/createEslintConfig.ts).
You can add your own `.eslintrc.js` to the root of your project and TSDX will **deep merge** it with [its own ESLint config](https://github.com/formium/tsdx/blob/master/src/createEslintConfig.ts).

1 comment on commit 6078acb

@vercel
Copy link

@vercel vercel bot commented on 6078acb Nov 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.