@Olivier this is beautiful!

we’ve already started some discussion on github: https://github.com/monome/docs/issues/163

@Oootini is exploring some jekyll search options.

seems you have the styling and layout well in hand.


to clarify— this discussion is about the MONOME docs. we are attempting to make it more organized (sidebar) and searchable. i do not expect the actual content of the docs to change greatly. things will be moved around, and expanded, but i’m not about to turn the monome docs into a general learning center— that’s what the Index: lines resources is for!

8 Likes

Roger that! Thanks. I’m actually thinking of a sticky, collapsible nav for mobile that would sit above the content. Just need to mock that up.

4 Likes

my partner is a new-ish norns shield user and was going over the play documentation to learn the menu, but getting thrown off by the parts w/ stock norns assumptions, particularly the legend & getting the key + encoder numbers straightened out on the alt layout (aware most of this was all written pre-shield).

I have vector files for my case, happy to whip up a shield layout in the same style

3 Likes

thiiiis is great – it makes total sense that without a legend, you’d assume the leftmost key/encoder pair is 1. thank you for sharing this insight !!

excellent timing! we just had a “production meeting” the other day to plan out a total re-do of all the norns docs ahead of the shield restock. every bit helps, so if you can make a similar doc for shield, that’d be super rad :sparkles:

1 Like

progress report


norns docs rewritten

  • about two months ago, ahead of the new no-solder shield, we rewrote all of the norns docs to include shield at the start
  • we also revised the overall docs journey, hopefully making it easier for an uninitiated user to pick a topic and move linearly through toward better understanding that facet of the ecosystem:
  • we took the opportunity to clarify UI + hardware interactions with reference images:
  • we embraced samba as the primary method for file transfers between norns and another computer
    • sftp docs are still around, but it’s not a common usecase and so they’re hidden from the main learning journey

reference projects: help wanted!

inspired by experiences navigating references for our own personal learning projects (processing, p5.js, and [as always] supercollider), we’ve begun work on two different projects which we’d love help from anyone looking to kill some time:

~/~/~/~/~/~/~/~/~/~/~/~/~/~/
new: maiden REPL help
~/~/~/~/~/~/~/~/~/~/~/~/~/~/

with 210114, it’s possible to receive code hints directly in maiden by executing help() commands in the REPL:

example: help(grid)
--------------------------------------------------------------------------------
grid.connect( port )          create a grid table using device [port]
                                default [port] 1 if unspecified
                              (returns) grid table
.key( x, y, z )               function called with incoming grid key event
                                this should be redefined by the script
.led( x, y, level )           set LED at [x,y] to [level]
                                [level] range is 0..15
.all( level )                 set all grid LED to [level]
                                [level] range is 0..15
.refresh()                    update the grid LED state
--------------------------------------------------------------------------------
-- example
lx,ly,lz = 0,0,0
-- connect grid
g = grid.connect()
-- key function
g.key = function(x,y,z)
  print(x,y,z)
  lx = x
  ly = y
  lz = z*15
  draw_grid()
end
-- simple draw function
draw_grid()
  g.all(0)
  g.led(lx,ly,lz)
  g.refresh()
end
--------------------------------------------------------------------------------

help(grid) and help(clock) are pretty well fleshed-out, but there’s a ton of other modules which need documentation.

see brian’s changes for a great template for contributing to this effort

~/~/~/~/~/~/~/~/~/~/~/~/
new: command docs
~/~/~/~/~/~/~/~/~/~/~/~/

guiding principle: meatier than a quick reference and more direct than a study, reference docs give users who have gone through the studies but aren’t yet familiar with the ecosystem an actionable overview of the built-in modules.

provides illustrative + copy-paste’able code snippets to use in your own projects.

see the docs github for templates. if a module is preceded with lib. in the auto-gen api, then it goes in the lib folder :slight_smile:


have an idea for docs content? a whole new docs structure? please feel free to submit a PR to the docs github, or let us know here / help@monome.org :revolving_hearts:

14 Likes

holy crap multi-line strings !!! !!! i had no idea

i love how simple the implementation is, super easy to add to any script side library as well

1 Like