#107
gdtest_authors_multi
OK
CONFIG
Tests multiple authors config
Tests authors config with three author entries, each having name, email, role, and github username. Author info should render in the sidebar. Two functions (collaborate, review).
Build Mode
● Has great-docs.yml
This package ships a pre-supplied config.
The great-docs init step is skipped and
great-docs build uses the spec-defined configuration directly.
Tests specific config options and their rendered output.
Dimensions
K14
K14multiple authorsconfig
Source Files
gdtest_authors_multi/
__init__.py
"""Package testing multiple authors config."""
__version__ = "0.1.0"
__all__ = ["collaborate", "review"]
def collaborate(team: list) -> str:
"""
Collaborate with a team of contributors.
Parameters
----------
team
A list of team member names.
Returns
-------
str
A summary of the collaboration.
"""
return ", ".join(team)
def review(code: str) -> bool:
"""
Review a piece of code.
Parameters
----------
code
The code string to review.
Returns
-------
bool
True if the code passes review.
"""
return TrueREADME.md
# gdtest-authors-multi Tests multiple authors config.
great-docs.yml
authors:
- name: Alice Smith
email: alice@example.com
role: Lead
github: alicesmith
- name: Bob Jones
email: bob@example.com
role: Contributor
github: bobjones
- name: Carol Lee
email: carol@example.com
role: Reviewer
github: carollee