Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkdocs serve 404 error: fonts/fontawesome-webfont.woff2 #894

Closed
sinkcup opened this issue Apr 14, 2016 · 11 comments
Closed

mkdocs serve 404 error: fonts/fontawesome-webfont.woff2 #894

sinkcup opened this issue Apr 14, 2016 · 11 comments

Comments

@sinkcup
Copy link

@sinkcup sinkcup commented Apr 14, 2016

mkdocs --version
  mkdocs, version 0.15.3
mkdocs serve

open http://127.0.0.1:8000/, it will be a error:

404 GET /fonts/fontawesome-webfont.woff2?v=4.5.0

screenshot:
2016-04-14 14-07-00

2016-04-14 14-04-52

@waylan
Copy link
Member

@waylan waylan commented Apr 14, 2016

Curious, how did you install MkDocs? I ask because I'm wondering if we are missing the web font file in the distribution.

Loading

@sinkcup
Copy link
Author

@sinkcup sinkcup commented Apr 14, 2016

I install by:

sudo pip install mkdocs

Loading

@waylan
Copy link
Member

@waylan waylan commented Apr 14, 2016

Sure enough, the woff2 file is not being included in the package.

Loading

@anantshri
Copy link

@anantshri anantshri commented Apr 14, 2016

that's not all in the generated site folder if i run linkchecker here is what i get.

URL        `../fonts/glyphicons-halflings-regular.eot'
Parent URL http://127.0.0.1:8000/css/bootstrap-custom.min.css, line 1, col 36239
Real URL   http://127.0.0.1:8000/fonts/glyphicons-halflings-regular.eot
Check time 3.413 seconds
Result     Error: 404 File not found

URL        `../fonts/glyphicons-halflings-regular.eot?#iefix'
Parent URL http://127.0.0.1:8000/css/bootstrap-custom.min.css, line 1, col 36292
Real URL   http://127.0.0.1:8000/fonts/glyphicons-halflings-regular.eot#iefix
Check time 3.466 seconds
Result     Error: 404 File not found

URL        `../fonts/glyphicons-halflings-regular.woff'
Parent URL http://127.0.0.1:8000/css/bootstrap-custom.min.css, line 1, col 36376
Real URL   http://127.0.0.1:8000/fonts/glyphicons-halflings-regular.woff
Check time 3.551 seconds
Result     Error: 404 File not found

URL        `../fonts/glyphicons-halflings-regular.ttf'
Parent URL http://127.0.0.1:8000/css/bootstrap-custom.min.css, line 1, col 36441
Real URL   http://127.0.0.1:8000/fonts/glyphicons-halflings-regular.ttf
Check time 3.218 seconds
Result     Error: 404 File not found

URL        `../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular'
Parent URL http://127.0.0.1:8000/css/bootstrap-custom.min.css, line 1, col 36509
Real URL   http://127.0.0.1:8000/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular
Check time 3.062 seconds
Result     Error: 404 File not found

URL        `../fonts/fontawesome-webfont.woff2?v=4.5.0'
Parent URL http://127.0.0.1:8000/css/font-awesome-4.5.0.css, line 1, col 180
Real URL   http://127.0.0.1:8000/fonts/fontawesome-webfont.woff2?v=4.5.0
Check time 2.962 seconds
Result     Error: 404 File not found

Out of these lets exclude fontawesome-webfont.woff2 as its fixed via this pull. what about others they are not even in the repository.

Can you push then in repository and make all of them available.

Loading

@waylan
Copy link
Member

@waylan waylan commented Apr 14, 2016

Outside of the woff2 file, all of the rest are from the bootstrap themes, which are in a separate repo. They will need to be addressed there.

Loading

@anantshri
Copy link

@anantshri anantshri commented Apr 14, 2016

@waylan thanks for the quick pointer. issue raised in correct repository.

Loading

@seaneble
Copy link

@seaneble seaneble commented Jul 29, 2016

I still encounter this. I installed via pip only today, so I assume I have the latest version. Is there something wrong with my installation or did the code not yet get pushed out?

Loading

@waylan
Copy link
Member

@waylan waylan commented Jul 29, 2016

The most recent release is 0.15.3, the version this was reported in. This will be fixed in the next release (0.16.0).

Loading

@seaneble
Copy link

@seaneble seaneble commented Jul 29, 2016

Ah, perfect. Thanks and have a nice weekend 👍

Loading

@lokenx
Copy link

@lokenx lokenx commented Sep 5, 2016

I probably commented in the wrong repo, see below! Is there a reason there's no new release with all the changes pushed since 0.15.3?

mkdocs/mkdocs-bootstrap#6 (comment)

Loading

@waylan
Copy link
Member

@waylan waylan commented Sep 5, 2016

@lokenx see #907 for the status of 0.16.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants