mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-03 12:30:07 +00:00 
			
		
		
		
	
		
			
	
	
		
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| 
								 | 
							
								/**********************************************************************
							 | 
						||
| 
								 | 
							
								* !EXPERIMENTAL!
							 | 
						||
| 
								 | 
							
								*
							 | 
						||
| 
								 | 
							
								* These filters are required for .code to be JSON compatible: 
							 | 
						||
| 
								 | 
							
								*  @filter(json) @filter(-wikiword)
							 | 
						||
| 
								 | 
							
								*
							 | 
						||
| 
								 | 
							
								* NOTE: currently inline editing may mess this up.
							 | 
						||
| 
								 | 
							
								* NOTE: all the comments will be removed before parsing.
							 | 
						||
| 
								 | 
							
								*
							 | 
						||
| 
								 | 
							
								**********************************************************************/
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// The actual root data to be parsed...
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								  // Wiki config...
							 | 
						||
| 
								 | 
							
								  "HomePage": "WikiHome",
							 | 
						||
| 
								 | 
							
								  "ShowSystemPages": false,
							 | 
						||
| 
								 | 
							
								  "ShowBasePages": true,
							 | 
						||
| 
								 | 
							
								  // NOTE: setting this to true will effectively allow pages to control
							 | 
						||
| 
								 | 
							
								  //      your wiki. This is a potential threat if you allow untrusted
							 | 
						||
| 
								 | 
							
								  //      content on your wiki...
							 | 
						||
| 
								 | 
							
								  //      You are doing this at your own risk!
							 | 
						||
| 
								 | 
							
								  "AllowScripts": false,
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  // PeerJS API key...
							 | 
						||
| 
								 | 
							
								  "PeerJS-API-key": "XXX",
							 | 
						||
| 
								 | 
							
								  // PeerJS server URL (leave blank for default)...
							 | 
						||
| 
								 | 
							
								  "PeerJS-Server": null,
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  // XXX
							 | 
						||
| 
								 | 
							
								  "CouchDB-Server": null
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/*********************************************************************/
							 |