Skip to content

Commit

Permalink
Merge pull request #44 from sparksuite/fix-baseurl
Browse files Browse the repository at this point in the history
Fix Docusaurus base URL
  • Loading branch information
WesCossick authored Feb 26, 2021
2 parents 6ecc451 + b89d48c commit f1f1b0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This one is pretty straightforward. If you’re not a designated collaborator on

## 3. Prepare your local environment

Start by cloning the forked repository, then create a new branch off of `master`. Check out that new branch, then hop over to your favorite terminal. At the root of the repository, run `yarn install --frozen-lockfile` to install dependencies.
Start by cloning the forked repository, then create a new branch off of `master`. Check out that new branch, then hop over to your favorite terminal. At the root of the repository, run `yarn dev` to prepare the repository for local development.

_Note: good branch names are usually succinct phrases that describe the change. So, for example, if a change fixes a typo in the README file, the branch name might read `fix-typo-in-readme`._

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "w3c-css-validator",
"version": "1.0.2",
"version": "1.0.3",
"description": "Easily validate CSS using W3C's public CSS validator service",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"dev": "yarn install --frozen-lockfile && yarn compile && yarn --cwd ./website install --frozen-lockfile",
"test": "yarn compile && for directory in ./tests/*/ ; do (yarn --cwd \"$directory\" test); done",
"lint": "eslint --config ./eslint.src.json --ext .js,.ts ./src && eslint --config ./eslint.tests.json --ext .js,.ts ./tests && eslint --config ./eslint.website.json --ext .js,.ts,.jsx,.tsx ./website && prettier --check '**/*.{ts,js,tsx,jsx,json,css,html,yml}'",
"format": "eslint --config ./eslint.src.json --fix --ext .js,.ts ./src && eslint --config ./eslint.tests.json --fix --ext .js,.ts ./tests && eslint --config ./eslint.website.json --fix --ext .js,.ts,.jsx,.tsx ./website && prettier --write '**/*.{ts,js,tsx,jsx,json,css,html,yml}'",
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
title: 'W3C CSS Validator',
tagline: 'Modern CSS validation in JS environments using W3C’s public API',
url: 'https://sparksuite.github.io/w3c-css-validator/',
baseUrl: '/',
baseUrl: '/w3c-css-validator/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
Expand Down

0 comments on commit f1f1b0c

Please sign in to comment.