timothycrosley / portray

Your Project with Great Documentation.
MIT License
861 stars 74 forks source link

Incorrect blank lines inserted into source code #79

Closed JesseWebDotCom closed 3 years ago

JesseWebDotCom commented 3 years ago

example: https://timothycrosley.github.io/portray/reference/portray/api/

the original source code look like this:

import os
import webbrowser
from typing import Dict, Union

import mkdocs.commands.gh_deploy
from livereload import Server

from portray import config, logo, render

but Portray renders it like this:

import os

import webbrowser

from typing import Dict, Union

import mkdocs.commands.gh_deploy

from livereload import Server

from portray import config, logo, render
JesseWebDotCom commented 3 years ago

Looks like this is the root issue. Closing the portray issue for now. https://github.com/timothycrosley/pdocs/issues/21