Probably, it's better to use just
`.. autofunction:: solve_rational_inequalities`
No additional headers, like other docs.

You may want to consider to put inequalities docs in solvers.rst (or just a reference to inequalities.rst, like diophantine-docs).