brownplt / pyret-docs

The documentation for Pyret.
9 stars 18 forks source link

documentation error #83

Closed shriram closed 4 months ago

shriram commented 11 months ago

https://pyret.org/docs/latest/tables.html#%28part._.Ordering_.Tables%29

This example will first sort the data in increasing order on column1. If there are any duplicate values in column1, each such group of rows will be sorted in decreasing order by column2. If there are any duplicates in both columns, each remaining group will be sorted in increasing order by column3.

But the order expression is in the order column1, column3, column2. Just swap 3 and 2 in the displayed code.

Thanks to Henry Nieves at Brown for finding this error.

asolove commented 11 months ago

This repo doesn't seem to have the source code for the docs, but if someone can point me to where they live and give me PR access, I'm happy to fix this and a few other docs issues filed here.

sorawee commented 11 months ago

The doc is at https://github.com/brownplt/pyret-docs

asolove commented 11 months ago

This was fixed ~a year ago. Have the docs not been deployed since then? https://github.com/brownplt/pyret-docs/commit/31e1f748ca9311bc3a8bc3d4bdb07100c03167bf, or are they deployed from a branch other than horizon?