You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/27 21:12:00 UTC

[jira] [Commented] (CB-13925) Files in www/docs/en/dev/reference are not fetched on every build.

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

ASF GitHub Bot commented on CB-13925:
-------------------------------------

dblotsky opened a new pull request #793: [CB-13925] Making file fetch happen on every build.
URL: https://github.com/apache/cordova-docs/pull/793
 
 
   Adding --nofetch option to Gulp build, and making Gulp always fetch files on build. Improving error message in augment_toc.js a bit.
   
   <!--
   Please make sure the checklist boxes are all checked before submitting the PR. The checklist
   is intended as a quick reference, for complete details please see our Contributor Guidelines:
   
   http://cordova.apache.org/contribute/contribute_guidelines.html
   
   Thanks!
   -->
   
   ### Platforms affected
   None. It's a docs change.
   
   ### What does this PR do?
   Fixes CB-13925.
   
   ### What testing has been done on this change?
   Built the docs site locally.
   
   ### Checklist
   - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
   - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
   - [x] Added automated test coverage as appropriate for this change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Files in www/docs/en/dev/reference are not fetched on every build.
> ------------------------------------------------------------------
>
>                 Key: CB-13925
>                 URL: https://issues.apache.org/jira/browse/CB-13925
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-docs
>            Reporter: Dmitry Blotsky
>            Priority: Major
>
> Some files in the docs are downloaded from external sources, into {{www/docs/en/dev/reference}}. The files and their sources are defined in {{cordova-docs/www/_data/fetched-files.yml}}, and downloaded by the {{gulp fetch}} task, which runs on every build.
> Expected behaviour: the files are fetched every time the command runs.
> Actual behaviour: the files are only fetched if the {{www/docs/en/dev/reference}} directory doesn't exist. That is, fetching is skipped every time after the first time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org