Coder Social home page Coder Social logo

astroml.github.com's Introduction

astroML web page repository for https://www.astroml.org

Please do not submit pull requests to this repository, but directly to the source code! This repo is just hosting the rendered version of the webpage, the source code for the documentation and figure scripts can be found in the astroML, and astroML_figures repositories, respectively.

To build the website, clone both repos, define the BOOK_FIGURES_PATH env variable to point to the astroML_figures clone, and use make html in the doc directory in the astroML clone.

astroml.github.com's People

Contributors

bkmgit avatar bsipocz avatar jakevdp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

astroml.github.com's Issues

Fix dropdown CSS

There is some ugliness in the dropdown CSS (overflow at the bottom of the box, and some weirdness at the lower part of the text)

Screen Shot 2019-08-08 at 16 34 39

Add links over figure numbers

We have 2, and in some cases 3 versions for the figures. The book editions are available from the drop downs, but it would be best to have way to navigate between the versions on the figure level, too.

E.g. turn the figure number, at top of each page, to a menu of 3 links that points to the different versions gone into the print.

Set up sphinx-gallery for binder deployment of notebooks

Scikit-learn has a rather nice way to deploy examples from the docs with binder.

I think we don't even need the gallery part of the plugin just the deployment, but in either case this needs a bit more experimenting to get it right.

Refactor webpage layout

Would be nice to rethink and redesign the webpage a bit to clean up the layout, etc as currently there isn't an easy way to host multiple versions of the docs, etc.

We can again follow the strategy and design of upstream packages, scikit-learn has changed their landing page since we got their layout, as well as numpy currently is undergoing a webpage redesign.

Auto build and deployment of the website

The website deployment should be triggered by changes to affected parts of the source. The challenge is that the website components are hosted in 3 separate repos while deployed into this one:

  • astroML/astroML
  • astroML/astroML-figures
  • astroML/astroML-notebooks

The build scripts are in the library doc itself, but those can be moved over here if needed. Rendered outputs from the previous build should be used as building everything from zero takes too much time. The two possible avenues I see are:

  • have one job, run from cron e.g. daily that runs in this repo, fetches the latest versions of the components and builds and deploys the website if there are any changes.
  • cross trigger builds with GH actions. I have yet to find a closeby project that did this, but this discussion should be enough for a start https://github.community/t/triggering-by-other-repository/16163

Add new textbook to the webpage

@ivezic - I think we should update the images and mentions of the textbook on the webpage, as well as maybe some new text.

Do you have a preference for the timing? (e.g. only do after Dec 3, or now)? Any preference for new text?

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.