Giter Site home page Giter Site logo

Comments (9)

hupili avatar hupili commented on August 30, 2024

@ChicoXYC , when you make examples/ screenshots, please use this repository if possible. For jupyter notebooks, you can pick one from: https://github.com/hupili/python-for-data-and-media-communication

from python-for-data-and-media-communication-gitbook.

hupili avatar hupili commented on August 30, 2024

@ChicoXYC , please keep the following snippet in the footer of every chapter. I added it to week 01 as an example.


------

If you have any questions, or seek for help troubleshotting, please [create an issue here](https://github.com/hupili/python-for-data-and-media-communication-gitbook/issues/new)

from python-for-data-and-media-communication-gitbook.

rippleYJH avatar rippleYJH commented on August 30, 2024

@ChicoXYC Just some personal suggestions for you review. 1) can you explain a little bit further why we should preview Jupyter notebook on NBview? Are there any relationship with Github? For a new learner, I think it will be confusing.
2)Can you show how to create an index file in repository? If students don't want to just copy the example, is it possible to show them why (why we need to create an index file? Why is it necessary?) and how? (the procedures of creating an index file)

from python-for-data-and-media-communication-gitbook.

hupili avatar hupili commented on August 30, 2024

@rippleYJH

Maybe better for me to explain the concept and @ChicoXYC can add concrete examples and merge my explanations into the open book.

  1. One can directly preview a Python notebook on GitHub. However, GitHub prohibits Javascript execution for security reasons. If you have interactive chart, e.g. from echart, plotly, those will not render on GitHub. NBViewer supports javascript and it is the first free online tool to preview Python notebook, so we recommend it. For concrete examples of dynamic charts, @ChicoXYC can find one notebook from our project archive: https://github.com/data-projects-archive .

  2. Basically, index.html is the default file served by the web server. So it is equivalent to visit example.com and example.com/index.html. Naming your file as index.html can lead to this more concise notation in browser's address bar and in communication campaigns -- the naming in the world of web is usually the shorter the better. More explanations are here: https://en.wikipedia.org/wiki/Webserver_directory_index

from python-for-data-and-media-communication-gitbook.

rippleYJH avatar rippleYJH commented on August 30, 2024

@hupili That will be more clear!!

from python-for-data-and-media-communication-gitbook.

ChicoXYC avatar ChicoXYC commented on August 30, 2024

update @hupili thanks @rippleYJH

from python-for-data-and-media-communication-gitbook.

hupili avatar hupili commented on August 30, 2024

I added two optional chapters. Since it is optional, those pointers should be enough for people who are motivated and interested. We can come back to add more detailed instructions when time permits. FYI.

Two sections:

  • Add sub-path to gh-pages hosted domain
  • Bind custom domain to your gh-pages repo

@ChicoXYC Here are the remaining TODOs:

  • Fix the section headings and check the TOC if the rendered result looks normal.
  • Full proof-reading.

Then we can release to the precamp group.

from python-for-data-and-media-communication-gitbook.

hupili avatar hupili commented on August 30, 2024

from python-for-data-and-media-communication-gitbook.

ChicoXYC avatar ChicoXYC commented on August 30, 2024

@hupili Update, thanks for your patient instruction.

from python-for-data-and-media-communication-gitbook.

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.