|
77 | 77 | "To learn more about the frequency strings, please see "
|
78 | 78 | "[this link](https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases)."
|
79 | 79 | )
|
| 80 | + |
80 | 81 | RST_REF_EXAMPLE = """See :ref:`here <timeseries.offset_aliases>` for a list of frequency aliases."""
|
81 | 82 | RST_REF_MARKDOWN = """See here: `timeseries.offset_aliases` for a list of frequency aliases."""
|
82 | 83 |
|
@@ -440,11 +441,11 @@ def func(): pass
|
440 | 441 | REFERENCES_MARKDOWN = """
|
441 | 442 | #### References
|
442 | 443 |
|
443 |
| -- [1] M.S. Bartlett, "Periodogram Analysis and Continuous Spectra", |
| 444 | + - [1] M.S. Bartlett, "Periodogram Analysis and Continuous Spectra", |
444 | 445 | Biometrika 37, 1-16, 1950.
|
445 |
| -- [2] E.R. Kanasewich, "Time Sequence Analysis in Geophysics", |
| 446 | + - [2] E.R. Kanasewich, "Time Sequence Analysis in Geophysics", |
446 | 447 | The University of Alberta Press, 1975, pp. 109-110.
|
447 |
| -- [3] Wikipedia, "Window function", |
| 448 | + - [3] Wikipedia, "Window function", |
448 | 449 | https://en.wikipedia.org/wiki/Window_function
|
449 | 450 | """
|
450 | 451 |
|
@@ -555,6 +556,18 @@ def func(): pass
|
555 | 556 | 'converts bibliographic references': {
|
556 | 557 | 'rst': REFERENCES,
|
557 | 558 | 'md': REFERENCES_MARKDOWN
|
| 559 | + }, |
| 560 | + 'converts sphinx func, meth, and class': { |
| 561 | + 'rst': ':func:`function1`, :meth:`.Script.inline`, :class:`.Environment`', |
| 562 | + 'md': '`function1`, `Script.inline`, `Environment`' |
| 563 | + }, |
| 564 | + 'converts sphinx params': { |
| 565 | + 'rst': ':param x: test arg', |
| 566 | + 'md': '- `x`: test arg' |
| 567 | + }, |
| 568 | + 'converts sphinx return': { |
| 569 | + 'rst': ':return: return description', |
| 570 | + 'md': 'Returns: return description' |
558 | 571 | }
|
559 | 572 | }
|
560 | 573 |
|
|
0 commit comments