Skip to content

Parsing Epytext #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
biomadeira opened this issue Feb 27, 2015 · 5 comments
Closed

Parsing Epytext #35

biomadeira opened this issue Feb 27, 2015 · 5 comments

Comments

@biomadeira
Copy link

Sorry the ignorance. Is there a way of 'forcing' pdoc to parse docstrings in Epytext format as the example below:

def load_config(filename, option):
    """
    Loads and tests input parameters.

    @param filename: input filename
    @param option: option name
    @return: returns a valid config value
    """

Thanks

@BurntSushi
Copy link
Contributor

No, but you could modify the templates to do whatever you want pretty easily: https://github.com/BurntSushi/pdoc/blob/master/pdoc/templates/html.mako#L66

@biomadeira
Copy link
Author

Nice. Thanks!

@johnyf
Copy link

johnyf commented Jun 16, 2015

I am also interested in this. Being an epydocuser myself, for some time now I have been using Epytext with markdown formatting. Though I am not aware of a suitable doc tool, I was planning to write one. The closest thing is to adapt pdoc for recognizing @param, @type, @return, @rtype, and also link automatically Name, replacing the Epytext [Name], if Name is found to be an existing class/function/etc somewhere in the package.

@peterjc
Copy link

peterjc commented Jul 29, 2016

I missed this issue when I filed #111 for the wider issue of supporting some of the markup languages as supported in epydoc (which does not support markdown).

@cortesi
Copy link
Member

cortesi commented Jun 3, 2018

Please see #153 for a unified discussion ticket about docstring flavors.

@cortesi cortesi closed this as completed Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants