incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1067) Generating Docs: Parse Token Error
Date Mon, 16 Jul 2012 15:54:34 GMT

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

Michael Brooks commented on CB-1067:
------------------------------------

[Commit 338f98|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=338f98c00b956964d5760a681edc5849d4b880d5]

In the JSON configuration {{/docs/jp/1.8.1/config.json}} there was a missing semicolon after
{{..cameraOptions.md"}}:

{noformat}
            "cordova/camera/parameter/cameraError.md",
            "cordova/camera/parameter/cameraOptions.md"
            "cordova/camera/parameter/cameraPopoverOptions.md"
        ],
{noformat}

In the JSON configuration {{/docs/jp/1.8.1/config.json}} there was no {{"cordova/camera/parameter/cameraPopoverOptions.md"}}
file. This file was located one directory higher.
                
> Generating Docs: Parse Token Error
> ----------------------------------
>
>                 Key: CB-1067
>                 URL: https://issues.apache.org/jira/browse/CB-1067
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 2.0.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.0.0
>
>
> When generating the docs with {{./bin/generate}} the following error is thrown:
> {noformat}
>  => Generating the Cordova Documentation for 0.9.2-en...
> /Library/Ruby/Gems/1.8/gems/json-1.6.0/lib/json/common.rb:148:in `parse': 387: unexpected
token at '"cordova/camera/parameter/cameraPopoverOptions.md" (JSON::ParserError)
>         ],
>         "capture.md": [
>             "cordova/media/capture/capture.md",
>             "cordova/media/capture/captureAudio.md",
>             "cordova/media/capture/captureAudioOptions.md",
>             "cordova/media/capture/captureImage.md",
>             "cordova/media/capture/captureImageOptions.md",
>             "cordova/media/capture/captureVideo.md",
>             "cordova/media/capture/captureVideoOptions.md",
>             "cordova/media/capture/CaptureError.md",
>             "cordova/media/capture/CaptureCB.md",
>             "cordova/media/capture/CaptureErrorCB.md",
>             "cordova/media/capture/ConfigurationData.md",
>             "cordova/media/capture/MediaFile.md",
>             "cordova/media/capture/MediaFile.getFormatData.md",
>             "cordova/media/capture/MediaFileData.md"
>         ],
>         "compass.md": [
>             "cordova/compass/compass.md",
>             "cordova/compass/compass.getCurrentHeading.md",
>     
> 	from /Library/Ruby/Gems/1.8/gems/json-1.6.0/lib/json/common.rb:148:in `parse'
> 	from ./bin/../lib/cordova/version_menu.rb:53:in `generate_set'
> 	from ./bin/../lib/cordova/version_menu.rb:50:in `each'
> 	from ./bin/../lib/cordova/version_menu.rb:50:in `generate_set'
> 	from ./bin/../lib/cordova/version_menu.rb:33:in `run'
> 	from ./bin/../lib/docs_generator.rb:106:in `after_jodoc'
> 	from ./bin/../lib/file_helpers.rb:69:in `each_file'
> 	from ./bin/../lib/file_helpers.rb:68:in `each'
> 	from ./bin/../lib/file_helpers.rb:68:in `each_file'
> 	from ./bin/../lib/docs_generator.rb:105:in `after_jodoc'
> 	from ./bin/../lib/docs_generator.rb:104:in `each'
> 	from ./bin/../lib/docs_generator.rb:104:in `after_jodoc'
> 	from ./bin/../lib/docs_generator.rb:72:in `run'
> 	from ./bin/../lib/docs_generator.rb:62:in `foreach'
> 	from ./bin/../lib/docs_generator.rb:62:in `run'
> 	from ./bin/../lib/docs_generator.rb:58:in `foreach'
> 	from ./bin/../lib/docs_generator.rb:58:in `run'
> 	from ./bin/generate:25
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message