DOC: Fix path to built file (#1976)

This commit is contained in:
Daniel Hollas
2019-05-27 22:38:41 +02:00
committed by Erik Demaine
parent f9dafea6a6
commit d1dfd88166

View File

@@ -43,4 +43,4 @@ The default build of KaTeX expects the KaTeX fonts to be located in a directory
1. At the top of the [fonts.less](https://github.com/KaTeX/katex-fonts/blob/master/fonts.less) file, set `@font-folder` to the location of your fonts. You can use relative or absolute paths, so setting it to `"/fonts"` would cause it to search for the fonts in a root `fonts` folder, while `"../fonts"` would search in a `fonts` directory one level above the `katex.min.css` file.
2. Rebuild KaTeX by running `yarn build` from the top-level directory.
3. Use the newly generated `build/katex.min.css` file, and place the fonts where you indicated.
3. Use the newly generated `dist/katex.min.css` file, and place the fonts where you indicated.