File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def generate_docs_configuration(
3636 module : str = "" ,
3737 description : str = "" ,
3838 author : str = "" ,
39+ copyright : str = "" ,
3940 version : str = "" ,
4041 theme : str = "furo" ,
4142 docs_root : str = "" ,
@@ -59,6 +60,9 @@ def generate_docs_configuration(
5960 author = author [0 ]
6061 else :
6162 author = f"The { project } authors"
63+ if isinstance (author , dict ):
64+ author = author ["name" ]
65+ copyright = copyright or author
6266 theme = theme or get_config (section = "theme" )
6367 version = version or get_config (section = "version" , base = "project" )
6468 docs_root = (
@@ -102,6 +106,7 @@ def generate_docs_configuration(
102106 module = module ,
103107 description = description ,
104108 author = author ,
109+ copyright = copyright ,
105110 version = version ,
106111 theme = theme ,
107112 docs_root = docs_root ,
You can’t perform that action at this time.
0 commit comments