ExDoc v0.20: Keyboard shortcuts, autocompletion, full-text search, and more!
ExDoc v0.20 has been released with many exciting new features: keyboard shortcuts, search improvements, and more!
Let’s take a look at some of the new capabilities. You can see them live at hexdocs.pm/elixir/master/ too!
You can now press <kbd>s</kbd> to focus the search bar, <kbd>c</kbd> to expand or collapse the sidebar, <kbd>n</kbd> to switch between light and dark mode. Last but not least, press <kbd>?</kbd> to see all available shortcuts.
Two of the most exciting new features are search autocompletion and full-text search. As you type in the search box, suggestions for existing modules, functions, callbacks, etc will show up. And if you want to search for a specific phrase across the whole documentation - that works too!
You may have seen on previous screencasts that there’s a little arrow near the project version and that’s finally the ability to switch between documentation versions:
This feature is still a bit rough around the edges and in particular if you go to documentation generated with previous ExDoc versions there’s no going back because there was no version switcher back then! :)
This release brings other improvements and bug fixes. For a full list of changes, see the CHANGELOG.
P.S.: This post was originally published on Plataformatec’s blog.