├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── bin └── bookdown ├── composer.json ├── phpunit.php ├── phpunit.xml.dist ├── src ├── Command.php ├── Config │ ├── ConfigFactory.php │ ├── IndexConfig.php │ └── RootConfig.php ├── Container.php ├── Content │ ├── Heading.php │ ├── HeadingFactory.php │ ├── IndexPage.php │ ├── Page.php │ ├── PageFactory.php │ ├── RootPage.php │ ├── TocHeading.php │ └── TocHeadingIterator.php ├── Exception.php ├── Fsio.php ├── Process │ ├── Conversion │ │ ├── ConversionProcess.php │ │ └── ConversionProcessBuilder.php │ ├── CopyImage │ │ ├── CopyImageProcess.php │ │ └── CopyImageProcessBuilder.php │ ├── Copyright │ │ ├── CopyrightProcess.php │ │ └── CopyrightProcessBuilder.php │ ├── Headings │ │ ├── HeadingsProcess.php │ │ └── HeadingsProcessBuilder.php │ ├── Index │ │ ├── IndexProcess.php │ │ └── IndexProcessBuilder.php │ ├── ProcessBuilderInterface.php │ ├── ProcessInterface.php │ ├── Rendering │ │ ├── RenderingProcess.php │ │ └── RenderingProcessBuilder.php │ └── Toc │ │ ├── TocProcess.php │ │ └── TocProcessBuilder.php ├── Service │ ├── Collector.php │ ├── Processor.php │ ├── ProcessorBuilder.php │ ├── Service.php │ └── Timer.php └── Stdlog.php ├── templates ├── body.php ├── core.php ├── head.php ├── main.php ├── navfooter.php ├── navheader.php └── toc.php └── tests ├── BookFixture.php ├── BookImageFixture.php ├── BookNumberingFixture.php ├── BookTocFixture.php ├── CommandTest.php ├── Config ├── ConfigFactoryTest.php ├── IndexConfigTest.php └── RootConfigTest.php ├── ContainerTest.php ├── Content ├── ContentTest.php └── HeadingTest.php ├── FakeFsio.php ├── FsioTest.php ├── Process ├── ConversionProcessTest.php ├── CopyImageProcessTest.php ├── Fake │ ├── FakeProcess.php │ └── FakeProcessUnimplementedBuilder.php ├── HeadingsProcessTest.php ├── IndexProcessTest.php ├── RenderingProcessTest.php └── TocProcessTest.php └── Service ├── CollectorTest.php ├── ProcessorBuilderTest.php └── ProcessorTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | composer.lock 3 | vendor/ 4 | _site/ 5 | tests/tmp 6 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/README.md -------------------------------------------------------------------------------- /bin/bookdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/bin/bookdown -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/phpunit.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Command.php -------------------------------------------------------------------------------- /src/Config/ConfigFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Config/ConfigFactory.php -------------------------------------------------------------------------------- /src/Config/IndexConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Config/IndexConfig.php -------------------------------------------------------------------------------- /src/Config/RootConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Config/RootConfig.php -------------------------------------------------------------------------------- /src/Container.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Container.php -------------------------------------------------------------------------------- /src/Content/Heading.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/Heading.php -------------------------------------------------------------------------------- /src/Content/HeadingFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/HeadingFactory.php -------------------------------------------------------------------------------- /src/Content/IndexPage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/IndexPage.php -------------------------------------------------------------------------------- /src/Content/Page.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/Page.php -------------------------------------------------------------------------------- /src/Content/PageFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/PageFactory.php -------------------------------------------------------------------------------- /src/Content/RootPage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/RootPage.php -------------------------------------------------------------------------------- /src/Content/TocHeading.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/TocHeading.php -------------------------------------------------------------------------------- /src/Content/TocHeadingIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Content/TocHeadingIterator.php -------------------------------------------------------------------------------- /src/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Exception.php -------------------------------------------------------------------------------- /src/Fsio.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Fsio.php -------------------------------------------------------------------------------- /src/Process/Conversion/ConversionProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Conversion/ConversionProcess.php -------------------------------------------------------------------------------- /src/Process/Conversion/ConversionProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Conversion/ConversionProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/CopyImage/CopyImageProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/CopyImage/CopyImageProcess.php -------------------------------------------------------------------------------- /src/Process/CopyImage/CopyImageProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/CopyImage/CopyImageProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/Copyright/CopyrightProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Copyright/CopyrightProcess.php -------------------------------------------------------------------------------- /src/Process/Copyright/CopyrightProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Copyright/CopyrightProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/Headings/HeadingsProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Headings/HeadingsProcess.php -------------------------------------------------------------------------------- /src/Process/Headings/HeadingsProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Headings/HeadingsProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/Index/IndexProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Index/IndexProcess.php -------------------------------------------------------------------------------- /src/Process/Index/IndexProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Index/IndexProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/ProcessBuilderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/ProcessBuilderInterface.php -------------------------------------------------------------------------------- /src/Process/ProcessInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/ProcessInterface.php -------------------------------------------------------------------------------- /src/Process/Rendering/RenderingProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Rendering/RenderingProcess.php -------------------------------------------------------------------------------- /src/Process/Rendering/RenderingProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Rendering/RenderingProcessBuilder.php -------------------------------------------------------------------------------- /src/Process/Toc/TocProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Toc/TocProcess.php -------------------------------------------------------------------------------- /src/Process/Toc/TocProcessBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Process/Toc/TocProcessBuilder.php -------------------------------------------------------------------------------- /src/Service/Collector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Service/Collector.php -------------------------------------------------------------------------------- /src/Service/Processor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Service/Processor.php -------------------------------------------------------------------------------- /src/Service/ProcessorBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Service/ProcessorBuilder.php -------------------------------------------------------------------------------- /src/Service/Service.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Service/Service.php -------------------------------------------------------------------------------- /src/Service/Timer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Service/Timer.php -------------------------------------------------------------------------------- /src/Stdlog.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/src/Stdlog.php -------------------------------------------------------------------------------- /templates/body.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/body.php -------------------------------------------------------------------------------- /templates/core.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/core.php -------------------------------------------------------------------------------- /templates/head.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/head.php -------------------------------------------------------------------------------- /templates/main.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/main.php -------------------------------------------------------------------------------- /templates/navfooter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/navfooter.php -------------------------------------------------------------------------------- /templates/navheader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/navheader.php -------------------------------------------------------------------------------- /templates/toc.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/templates/toc.php -------------------------------------------------------------------------------- /tests/BookFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/BookFixture.php -------------------------------------------------------------------------------- /tests/BookImageFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/BookImageFixture.php -------------------------------------------------------------------------------- /tests/BookNumberingFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/BookNumberingFixture.php -------------------------------------------------------------------------------- /tests/BookTocFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/BookTocFixture.php -------------------------------------------------------------------------------- /tests/CommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/CommandTest.php -------------------------------------------------------------------------------- /tests/Config/ConfigFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Config/ConfigFactoryTest.php -------------------------------------------------------------------------------- /tests/Config/IndexConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Config/IndexConfigTest.php -------------------------------------------------------------------------------- /tests/Config/RootConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Config/RootConfigTest.php -------------------------------------------------------------------------------- /tests/ContainerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/ContainerTest.php -------------------------------------------------------------------------------- /tests/Content/ContentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Content/ContentTest.php -------------------------------------------------------------------------------- /tests/Content/HeadingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Content/HeadingTest.php -------------------------------------------------------------------------------- /tests/FakeFsio.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/FakeFsio.php -------------------------------------------------------------------------------- /tests/FsioTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/FsioTest.php -------------------------------------------------------------------------------- /tests/Process/ConversionProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/ConversionProcessTest.php -------------------------------------------------------------------------------- /tests/Process/CopyImageProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/CopyImageProcessTest.php -------------------------------------------------------------------------------- /tests/Process/Fake/FakeProcess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/Fake/FakeProcess.php -------------------------------------------------------------------------------- /tests/Process/Fake/FakeProcessUnimplementedBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/Fake/FakeProcessUnimplementedBuilder.php -------------------------------------------------------------------------------- /tests/Process/HeadingsProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/HeadingsProcessTest.php -------------------------------------------------------------------------------- /tests/Process/IndexProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/IndexProcessTest.php -------------------------------------------------------------------------------- /tests/Process/RenderingProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/RenderingProcessTest.php -------------------------------------------------------------------------------- /tests/Process/TocProcessTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Process/TocProcessTest.php -------------------------------------------------------------------------------- /tests/Service/CollectorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Service/CollectorTest.php -------------------------------------------------------------------------------- /tests/Service/ProcessorBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Service/ProcessorBuilderTest.php -------------------------------------------------------------------------------- /tests/Service/ProcessorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookdown/Bookdown.Bookdown/HEAD/tests/Service/ProcessorTest.php --------------------------------------------------------------------------------