Coder Social home page Coder Social logo

Public documentation about mapboxgl-jupyter HOT 12 CLOSED

mapbox avatar mapbox commented on July 25, 2024
Public documentation

from mapboxgl-jupyter.

Comments (12)

ryanbaumann avatar ryanbaumann commented on July 25, 2024 1

@sherl0cks

Agree on #13, we're planning to a) clearly document color options, and b) add default values for color ramps so a user can just pass mapboxgl.viz.CircleViz(data=data, access_token=token) and get a valid viz result.

Thanks for the doc collaboration offer - yes, we'd love to collaborate here! @perrygeo and I will set up the doc generation set up in a new PR, and then we can collab on creating the content. If you have any examples you'd like to share in the meantime, please open a PR.

from mapboxgl-jupyter.

sherl0cks avatar sherl0cks commented on July 25, 2024

does utilities include the contents of the color_ramps dictionary? for those not inclined to read source code, this a bit cryptic currently, especially until #13 is resolved.

what do you have in mind RE: documentation framework? I'm keen to collaborate here and have a small team that could help test.

from mapboxgl-jupyter.

cmtoomey avatar cmtoomey commented on July 25, 2024

Additional Documentation specifics

  • Differences between color_stops across APIs. What are the individual APIs expecting, and how do these tie back to Mapbox Style-spec requirements. Specifically for Heatmaps, there could be additional explanation as to how these values are interpreted and rendered.

Example:

Heatmap requires a color stop that looks like this: heatmap_color_stops = mapboxgl.colors.create_color_stops([0.01,0.25,0.5,0.75,1], colors='RdPu')

Clustered looks like this: color_stops = mapboxgl.colors.create_color_stops([1,10,50,100], colors='RdPu')

Points utilize a standard set of stops from create_color_stops but it appears that Heatmap and Clustered are looking for values across a specific range. If this is the case, it should be documented.

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

Let's push on documentation this month. The goal would be to enable a 1.0 release by the end of February. @perrygeo any recommendations on a Python documentation system to use to publish website docs?

from mapboxgl-jupyter.

perrygeo avatar perrygeo commented on July 25, 2024

Sphinx is the gold standard: http://www.sphinx-doc.org/en/stable/

Configuration is a little tricky and it uses RestructuredText instead of markdown - but it's flexible with very nice HTML output.

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

Thanks @perrygeo. Let's break out several doc tasks:

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

Sphix docs are setup. Need to format the docs and create the copy now. New merges will automatically publish to readthedocs.org at

https://mapboxgl-jupyter.readthedocs.io/en/latest/mapboxgl.html

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

@markmisener is moving on a markdown version of the docs here to host on Github - #46

from mapboxgl-jupyter.

narlesky avatar narlesky commented on July 25, 2024

Does this mean veering away from readthedocs site? Or will we port over the markdown files once all of the copy is written?

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

@narlesky yes. Apologies if we're crossing streams here.

We're planning to use markdown documentation for the initial launch, and delay the readthedocs / Sphinx docs implementation until a later release.

from mapboxgl-jupyter.

narlesky avatar narlesky commented on July 25, 2024

👍

from mapboxgl-jupyter.

ryanbaumann avatar ryanbaumann commented on July 25, 2024

The markdown version of the docs are live! https://github.com/mapbox/mapboxgl-jupyter/tree/master/docs-markdown

Let's continue to use the markdown docs moving forward.

from mapboxgl-jupyter.

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.