Code Monkey home page Code Monkey logo

Comments (6)

julen avatar julen commented on August 30, 2024 1

Thanks for the report @NickVolynkin.

For development changes and working on docs cd website && npm run start is prefered and works fine. That fires up a development server and changes are immediately effective in the browser.

Building via make docs hasn't been used for local development, but as a means to build the site for deployment and checking docs don't break during CI builds.

The fact that making a build and opening the contents locally doesn't display static files as it does on the web is because of the difference in base URL (note '/zing/' there). Also building creates files with some GitHub pages-specific considerations, like clean URLs, which will never work in local builds.

We could add a make docs-dev target if it makes things more discoverable. Please let us know if that would help or if you have other suggestions.

from zing.

NickVolynkin avatar NickVolynkin commented on August 30, 2024

@julen thanks, I just used npm run start and it works. I think it's best to just write about this command in readme or some other place in docs.

from zing.

NickVolynkin avatar NickVolynkin commented on August 30, 2024

I can take this task, maybe next week. @julen what do you say?

from zing.

julen avatar julen commented on August 30, 2024

Thanks for your willingness to help @NickVolynkin.

We can add a separate README.md in the website directory — let's keep it simple, concise and straight to the point.

Also note how short forms of commands like npm start works the same way as npm run start. You can read more about them on npm docs.

from zing.

julen avatar julen commented on August 30, 2024

This was taken care of in 80e8837.

from zing.

NickVolynkin avatar NickVolynkin commented on August 30, 2024

@julen thank you!

from zing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.