[ 
https://issues.apache.org/jira/browse/CASSANDRA-20960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028538#comment-18028538
 ] 

Michael Semb Wever commented on CASSANDRA-20960:
------------------------------------------------

Docs today are built (and tested) like:
```
cd cassandra-website
/run.sh website build -g -u 
cassandra:https://github.com/thelastpickle/cassandra.git -b 
cassandra:mck/20678/5.0
```

That approach means you have to have pushed your dev branch first, as the 
cassandra-website build process takes parameters for the fork+branch of in-tree 
docs you want to build but uses like inside a docker build, as you have also 
done.

The ticket you need here is CASSANDRA-17260 that would make it possible to 
build just the in-tree docs.  
The idea is that in-tree needs its own site.yml 

Currently the site.yml is generated on-the-fly by the cassandra-website build, 
after having copied in all the in-tree cassandra versions.  See 
`generate_site_yaml ` at 
https://github.com/apache/cassandra-website/blob/trunk/site-content/docker-entrypoint.sh#L175

fyi [~anthony]

> Add local script for checking project documentation.
> ----------------------------------------------------
>
>                 Key: CASSANDRA-20960
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20960
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Jon Haddad
>            Assignee: Jon Haddad
>            Priority: Normal
>
> Add a simple script to evaluate if the anatora docs will build correctly.  
> This is just to cut down on the overhead of doc contribution, not to replace 
> the website build process.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to