use crate::docstrings::google::GOOGLE_SECTIONS;
use crate::docstrings::numpy::NUMPY_SECTIONS;
use crate::docstrings::sections::SectionKind;

pub(crate) enum SectionStyle {
    Numpy,
    Google,
}

impl SectionStyle {
    pub(crate) fn sections(&self) -> &[SectionKind] {
        match self {
            SectionStyle::Numpy => NUMPY_SECTIONS,
            SectionStyle::Google => GOOGLE_SECTIONS,
        }
    }
}
