We shipped some big changes to the CL documentation today! On top of the improved navigation you should now find better support for working in graphs, working with and transforming sketches, and interpreting math of all sorts.
It’s true that it autocompletes to that point but it’s quite hard to work out how to use them. I wanted to parse a radical yesterday and could not work out how to get the components using the “autocomplete and guess” method (would welcome any examples in this forum…)
Can I just ask for clarification about the information for the history and last value of a math input. Are the explanations mixed up? It says the history gives the last value and the last value gives the history? Also, both seem to have the same commentary above the code?
I can see similar explanations have been used for history & lastValue of an action button so there is a good chance I am missing something. My existing understanding matches the explanatory text above the code for the action button… ie history would allow us to store a list of values and lastValue would capture a single value.
But the bar at the top only searches for components, sinks, sources. There doesn’t seem to be any way to search for phrases in the documentation and since everything is collapsed, you can’t even use the browser’s ctrl-F search without first expanding the relevant section. But if you knew where it was you wouldn’t need to search. While the index is helpful, it would be nice if a full-text search feature were included.
That sounds like a good idea. Out of curiosity, what types of search terms have you used in the past or might want to in the future? No need to answer if you’re not comfortable.
I don’t recall specifically, but sometimes I remember having seen something in the example code, but I don’t remember what it was listed under, so even getting all of the hits for a certain sink would be nice since that would show me different places it is being used in the code and how it is being used, instead of currently where it just shows you the entry for the sink.
I tried searching for the beta pattern matching and it didn’t come up, but I agree with @MwlBrian, I like being able to search the whole documentation. Maybe I don’t know what a source or sink is called but know what it does and search for key terms that might be in its description.
Awesome, thanks. Pattern matching is largely undocumented and won’t show up in search, but we’ll see what we can do about text search to make it easier to find things.