gh-37602: `graphs.triangulations(3)` cannot return a triangle
Fixes #37562.
As proposed in
https://github.com/sagemath/sage/issues/37562#issuecomment-1993924068,
this PR adds a doctest showing that `graphs.triangulations(3)` returns
nothing.
### :memo: Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.
### :hourglass: Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: https://github.com/sagemath/sage/pull/37602
Reported by: David Coudert
Reviewer(s): Travis Scrimshaw