www/docstools/bin/fetch_docs.js (execute via node ./tools/bin/fetch_docs.js) has more details and www/_data/fetched-files.yml contains an informative list of src/dest pairs.gulpfile.js task fetch, by running gulp fetch which pulls in the files to dev/en/{file dest}.devNormal build doesn't update latest (7.x) from dev version of docs. You will need to do this manually using gulp snapshot. Read more here.
To increment the documentation version (e.g. X.X.X, either use the gulp task:
gulp newversion --version X.X.X
or manually run the incrementversion.js script:
node ./tools/bin/incrementversion.js www/docs X.X.X
To only run for a specific language (this should only happen when translation is intentionally left out for a given version), specify the language to the Gulp task as follows:
gulp newversion --version X.X.X --language YY
or manually, to the script, as follows:
node ./tools/bin/incrementversion.js www/docs X.X.X YY