mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Merge pull request #7261 from adrianeboyd/docs/v2-model-details
Limit to v2 models on v2.spacy.io
This commit is contained in:
		
						commit
						6ce9f0469f
					
				|  | @ -68,7 +68,7 @@ function isStableVersion(v) { | |||
| 
 | ||||
| function getLatestVersion(modelId, compatibility) { | ||||
|     for (let [version, models] of Object.entries(compatibility)) { | ||||
|         if (isStableVersion(version) && models[modelId]) { | ||||
|         if (version.startsWith('2.') && isStableVersion(version) && models[modelId]) { | ||||
|             const modelVersions = models[modelId] | ||||
|             for (let modelVersion of modelVersions) { | ||||
|                 if (isStableVersion(modelVersion)) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user