question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Offline reference documentation is missing "all.css"

See original GitHub issue

Most appropriate sub-area of p5.js?

  • Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible) - Documentation

Details about the bug:

  • p5.js version: v1.2.0
  • Web browser and version: All
  • Operating System: All
  • Steps to reproduce this:
  1. Visit the online reference docs at https://p5js.org/reference/
  2. Download the offline reference from the link, which points to https://p5js.org/offline-reference/p5-reference.zip
  3. Unzip the file and open index.html
  4. Note that index.html points to ./assets/all.css which does not exist in the zip file or extracted folder
  5. Notice the unstyled look of the offline reference documentation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
limzykennethcommented, Mar 1, 2021

@rt1301 That’s part of it. The actual compression is defined in this step but before that is run the offline-reference folder needs to be populated with files that are not already in it, which are duplicate files of the main website. To get a better idea about what are copied over before zipping, you can download the offline reference then compare the files in there against what’s actually tracked in the repo.

1reaction
limzykennethcommented, Mar 3, 2021

@rt1301 The URL for that link is hardcoded to point to p5js.org. You can just run the build step and have a look at the generated zip file in the dist folder to see if it worked correctly. If that zip file looks fine, it will be fine on the live website when deployed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing Mapbox GL JS CSS · Issue #5785 - GitHub
I have included a link to the CSS file in HTML, but still all I'm seeing is this error message. What is Mapbox...
Read more >
Font Awesome Icons in Offline - css - Stack Overflow
Download the font awesome free zip from the official site · there is a folder called 'css', copy that folder into your project...
Read more >
Installation - Tailwind CSS
Tailwind CSS works by scanning all of your HTML files, JavaScript components, ... Install tailwindcss via npm, and create your tailwind.config.js file.
Read more >
Reference third-party CSS styles in SharePoint Framework ...
Referencing CSS files that are part of a package in the project is similar to adding references to JavaScript files. All you need...
Read more >
The Options for Programmatically Documenting CSS
External documents, notes, and wikis all eventually get outdated, ... blocks of time in each sprint dedicated to completing missing docs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found