expect(installPage.text).to.equal('The Static Site Generator for Tech Writers This site hosts the technical documentation for Antora With Antora, you manage docs as code')
expect(installPage.component).to.equal('hello')
expect(installPage.version).to.equal('1.0')
...
...
@@ -148,7 +129,7 @@ describe('Generate index', function () {
expect(installPage.text).to.equal('The Static Site Generator for Tech Writers This site hosts the technical documentation for Antora With Antora, you manage docs as code')
expect(installPage.component).to.equal('hello')
expect(installPage.version).to.equal('1.0')
...
...
@@ -196,7 +177,7 @@ describe('Generate index', function () {
expect(featuresPage.text).to.equal('Automate the assembly of your secure, nimble static site as changes happen instead of wrestling with a CMS giant. Rebuild and deploy your site automatically in a matter of seconds in response to any change. Never have to worry about patching security holes in your deployed CMS application since you don’t have one. All pages are static—in the JAMstack style. Need to migrate your site to a different domain? Just rebuild the site and relaunch it on the new host. Adapt your site to fit seamlessly with your other web properties. No site is an island. Sites must play nice with others to maintain a consistent brand and user experiences. Static sites generated by Antora are well-suited for this role. With page templates and a little help from an automated process, you can blend your documentation pages into existing sites, giving the impression it’s all part of a single uniform site.')
})
it('should exclude pages with noindex defined as attribute',()=>{
...
...
@@ -395,9 +376,69 @@ describe('Generate index', function () {
expect(featuresPage.text).to.equal('Automate the assembly of your secure, nimble static site as changes happen instead of wrestling with a CMS giant.')
})
describe('Paths',()=>{
it('should use relative links when site URL is not defined',()=>{