numpy.org icon indicating copy to clipboard operation
numpy.org copied to clipboard

Create interactive Install widget

Open joelachance opened this issue 5 years ago • 11 comments

Create an install widget similar to PyTorch's to help users understand the proper install command for their system. This should live on the 'Install' page.

See 'Quick Start Locally': https://pytorch.org/

joelachance avatar Nov 24 '19 01:11 joelachance

@joelachance, @rgommers I'd like to finish it.

InessaPawson avatar Nov 26 '19 17:11 InessaPawson

@InessaPawson It's yours!

joelachance avatar Nov 26 '19 17:11 joelachance

@InessaPawson Can I give this a go?

MarsBarLee avatar Mar 24 '20 19:03 MarsBarLee

Here's the content Inessa and I exchanged a few months ago that never made it to this issue:

(@rgommers) Here are the things I propose to put in (adapted from https://pytorch.org/get-started/locally/):

  • Your OS: Linux, macOS, Windows EDIT: could consider adding ARM64 and/or other OSes (Alpine, AIX, etc.)
  • Package manager: Conda, Pip, from source
  • Python version: 3.6, 3.7. 3.8
  • Run this command: "let Ralf fill all these out"

(@InessaPawson): here is what I have:

  • https://github.com/InessaPawson/numpy.org/blob/master/layouts/partials/installnumpy.html
  • https://github.com/InessaPawson/numpy.org/blob/master/static/js/install.js

rgommers avatar Mar 24 '20 19:03 rgommers

@InessaPawson I'm getting a 404 error for both https://github.com/InessaPawson/numpy.org/blob/master/layouts/partials/installnumpy.html and https://github.com/InessaPawson/numpy.org/blob/master/static/js/install.js

I checked your fork as well, and didn't see the files there. Is there another link I can use?

MarsBarLee avatar Mar 24 '20 20:03 MarsBarLee

@MarsBarLee I deleted everything during the latest spring cleaning. :) Frankly, the most valuable information in those two files was where goes what. html page: layouts/partials/ script: static/js/ I was thinking to use Bootstrap.js for it.

InessaPawson avatar Mar 24 '20 23:03 InessaPawson

Hey, Is this still open ? I would like to work on this. I am familiar with html, css and javascript and a bit of hugo.

Arjun31415 avatar Jul 09 '22 08:07 Arjun31415

@Arjun31415 Thank you for offering your help! @MarsBarLee @stefanv What is the status of this issue?

InessaPawson avatar Jul 09 '22 17:07 InessaPawson

Issue is stalled and open for development.

stefanv avatar Jul 09 '22 19:07 stefanv

Great. I have one query. How would I make the partials file created for this show up on the page. What do I need to change in config.yml for that

Arjun31415 avatar Jul 10 '22 03:07 Arjun31415

Also there is an existing PR #212 Should I work with that or create from scratch

Arjun31415 avatar Jul 11 '22 14:07 Arjun31415